"changeover switch"
I don't know what's needed if you're concerned with code, but electrically speaking, THIS is all you need. or THIS one has an enclosure.