" I figured that the connections in the switch must be corroded or had failed somehow, so, off to buy a new switch."

You bought a new solenoid switch, and it did not help?