Debris stuck in the switch is the main reason why your switch has stopped working. Check the float switch in the bilge and clear any debris, if any. Besides, your switch may have broken down due to years of usage and may require to be replaced.