Unplug your KitchenAid washing machine.
Pull the plastic end covers off of the washer's top control panel to expose the control panel screws.
Remove the screws with your Phillips screwdriver.
Lift the control panel up and rest it over the back of the machine. You will now see the lid switch wiring harness plugged into the top of the washer. Unplug the wiring harness from its port.
Pop off the metal spring clips on either side of the top of the washer with the tip of a flathead screwdriver.
Open the washer lid and lift up the body of the washer to remove it.
Locate the mounting screws on the outside of the lid where the lid seal switch is mounted.
Remove the screws with your Phillips screwdriver and remove the lid switch from the inside of the washer body housing.
Fit a new switch in the housing and replace the screws.
Replace the washer body and spring clips.
Replace the wiring harness and control panel.