I took a piece of copper tubing just big enough to fit over the switch toggle, and crimped it with a pair of pliers. I flattened the other end and drilled a hole through it to attach the float string. It has worked flawlessly for 7 years. Not pretty, but heck, it's in the bilge and it works.
Kent & Iris