A balanced microphone has two audio wires and a shield wire. You use a DPDT switch to switch both wires.
An unbalanced mic has only one audio wire that needs only one pole of a switch so a SPDT or DPDT switch can be used.
A schematic for this switch is extremely simple: