In which episode of The Mary Tyler Moore Show was Ted Baxter offered a job as a game show host? I remember it had something to do with horse racing as contestants answered questions. He was over the moon at the prospect of being a game show host, and in the end Mr. Grant convinced him to come back to news.
The answer is: Ted's Moment of Glory S6E5. From IMDB: