Spectre of the Gun

Powerful aliens transport the Enterprise officers into an illusionary re-creation of the gunfight at the OK Corral.