You need a SPDT (single pole double throw) switch. It has two on positions and some have an off position in the center. You could use a DPDT also, but you only need to use one of the poles.

A SPDT switch will have 3 prongs on it. The two outside ones are the sources and the center is the output.

Here's another cheesy diagram:



Tom 98 LX (Zetec/ATX)