Hello,
Did the overfilling start the same time the washer went out of balance? If so, its possible that the air tube on the water level switch fell off the switch or air dome. If it was not at the same time you could have a bad fill valve.
JP, January 2006