I always mention this one, but The Adventures of Brisco County, Jr.
It's got Bruce Campbell in it (Army of darkness) And he plays a cowboy as the lead character where he goes on wacky steampunk-filled hijinks and adventures through the Old West.
it came out in the early 90s and you can watch it for free on tubiTV.
Fun fact, a lot of the old timey western movies used a particular set and the Adventures of Brisco County Jr. was the last show to use that set.