There's no show titled "The Adventures of Wyatt Trash." You're almost certainly thinking of the classic Western series The Adventures of Wyatt Earp (1955–1961), which ran for six seasons on ABC.
The series featured a parade of notable guest stars across its 229 episodes, cementing O'Brian's portrayal as the definitive screen Earp for a generation.