i am assuming the old one is still fitted in place , you would change the wires over from the old one,to the new switch one at a time, fit to the same position on the new switch to prevent connections getting muddled up.
if not happy draw a picture of where each wire gos the swap the switch over
wirecutterman
October 2010