First of all...shut power to fridge...unplug it or shut off the breaker or remove fuse at electrical panel...to prevent shock .Gently pried the existing switch out ….. occasionally the switch would not work.... placed a thin screwdriver blade under the lip of the bottom edge of the switch...there is a bump in the molded plastic of the switch that holds it in place at the bottom so bottom must be pried first....then rocked the switch back and forth until it was freed from the fridge exposing the connection terminals ..the wiring connections were not damaged at all and I was able to pry them off also by using the thin blade of the screwdriver....the difficulty in my case was that the manufacturer left only enough wire for the connections to barely be exposed...if they were damaged and new connections were needed...that would have presented quite a dilemma...you also have to use care that the short wiring stays exposed and does not drop back into the wall of the fridge..how they calculated the exact length of wire needed is beyond me...there was literally no slack in the length of the wiring...pushed the connection terminals onto the new switch and replaced the switch...into the opening...again the top goes in first and the bottom with the bump last...opposite of the removal process... so it can fit into the opening and stay in place...tested it a few times by depressing the switch and found it worked fine. Would have been much easier to do if the manufacturer had used longer wiring...even an inch would have made things easier...and as I said ...fortunately the terminals were ok so they did not need to be replaced ! Not a difficult job but you do have to use care with the prying screwdriver ..only took a few minutes to complete the project. If your fridge is dark when you open the door...you could test the switch by pushing it closed or moving it...in my case lights came on so the old switch was an intermittent problem.....or...if lights stay off no matter how many times you depress the switch the switch could be tested by..shutting off the power...removing the switch and placing a short length of wire into the terminals .it would have to be very thin wire....restore the power and see if lights come on......if fridge lights come on and freezer lights don't...it could be the opposite problem......freezer light switch could be bad ! All in all...a fairly easy fix ...just be patient and gentle with the prying screwdriver.