The Dick Van Dyke Show
The Gunslinger
S5 E31:
Rob has a dream that he's the sheriff of an Old West town, where his job is to keep the peace and protect the citizens from Big Bad Brady.
Starring
Allan Melvin