You missed the explanation where the switch was not crossing the point of no return. Why not take the cover off the switch and watch it.
Those switches are not marvels of engineering precision. They are also not designed to be mounted far from the tank. It might also have some sediment trapped under the diaphragm.
Abandon the one mounted on the pump and wire in a new one at the tank.