You can bypass the circuit on your original float switch and employ a silicon sealant to seal the housing thoroughly. Then loosely attach your replacement switch to your pump housing via zip tie. Plug the switch in the outlet and insert a bypass.