Turn off the electricity for the GE dishwasher by unplugging it from the socket. If you can't reach the socket, or if the dishwasher is wired into the home circuit, cut the power at the main circuit breaker.
Open the dishwasher door. Pull out the lower dishwasher rack.
Locate the dishwasher flood switch tower. It's a cylindrical object that sticks up an inch or two from the dishwasher cabinet floor. It's typically in the inside corner of the cabinet.
Remove the GE dishwasher flood switch cap by grasping the outside and turning counterclockwise. Pull the cap up and off the flood switch.
Examine the flood switch. Some GE dishwasher models have a small screw or clip holding the flood switch in place. Undo the screw or clip before pulling the flood switch out of the socket. If you don't see a clip or screw, remove the flood switch by turning it counterclockwise until it snaps out of place.
Insert the new flood switch into the socket. Secure as needed, with the clip, screw or by turning clockwise.
Replace the flood switch cap.
Restore power to the dishwasher. Run a short cycle to check that the new flood switch is operating properly. Reseat it if it malfunctions.