City on the Edge of Forever (South Park)
Many parts of this episode, including the title and one time when a kid in a red shirt leaves the bus, only to be eaten by monsters, are references to Star Trek's original 1960s show.