Is there such a switch?
You want a SPDT (single pole, double throw) switch with break-before-make. Your description is a little confusing, because you first said you want on-off-on which is a three position switch...I'm assuming you really just want two positions.

The two "throws" connect to your 12V power sources and the single "pole" connects to your loads.