Step 7: Attach Switch to Electrical Box
Gently push the wires and switch back into the electrical box, being careful not to dislodge any connections. If the box is metal, make sure that bare wires do not touch the box. Use the mounting screws to attach the new switch to the electrical box, so the switch housing is flush with the wall.
Step 8: Replace Switch Cover Plate
Attach the cover plate to the switch using screws. Be careful not to crack the plate by over-tightening the screws.
Step 9: Test the Switch
Turn the breaker back on, and test the switch. If the new switch doesn’t work and the old switch did, then you have a loose connection. Turn the breaker back off and go through the steps again.
If the new switch doesn’t work and the old switch didn’t either, then test the light bulb and check the light fixture to be sure the connections are secure. If the switch still doesn’t work, you may have a serious wiring problem which should be examined by a licensed electrician.