Open the top lid of the machine by removing the 2 screws from the lint trap. Open the dryer door and removed the 2 screws holding the door switch in place. Removed the 2 wires attached to the switch. Replaced the broken switch with the new one. Replaced the 2 mounting screws holding the switch in place. Closed the lid and replaced the screws in the lint trap. Plug the dryer in and started the dryer.