Very faint memories of this, probably from the original Battlestar TV series. I've tried searching for Wild West shootout and variations but no joy.
There was like a cowboy saloon and a fighter pilot went outside and had a 'draw and shoot' with a Cylon on the street, there was something about his gun (can't remember exactly what) and anyway he won.
I'm trying to track down the episode name/number.