Unplug the GE washer from the wall.
Remove the three screws from the back of the washer top. Pull the top forward, and lift it off of the washer.
Pull out the detergent tray. Press down on the release button, and pull out the tray to remove it.
Remove the three screws from the top of the control panel and the one screw from behind the detergent tray. Pull out the control panel, and let it hang.
Open the washer door and remove the three screws from the door latch. Pull out the latch to expose the wire.
Pull the connector for the wires attached to the door latch at the control panel. Pull the latch out of the machine.
Slide the wires for the new latch through the front panel of the machine. Connect the door latch wires to the control panel. Reassemble the washer.