I recently had a similar issue. But instead I decided to go with industrial controls. I bought a Contactor with a NC and NO connections. I put a float switch in series with the activator coil circuit. So when the float triggers: NC->O and NO-C, which turns off the water and turns on the pump.
Contactors are built to run giant industrial motors for years, nevermind my little 1/4hp pump.
The way I built it lets my mother bypass it by unplugging the pump from the control box and plugging it right into the wall outlet.
So, hopefully it lasts years. If it doesnt, anyone can bypass it