By removing the lid you should just be able to slide your hand down to hold the switch while you undo the screws from the front. The switch should then come off and you would simply connect wires to the new one and reassemble.
sparky, February 2006
edit
I can answer this question...
How do I open the cabinet to replace the door switch?