The engine ignition switch was working intermediately. The problem was traced to a plug in the engine harness, which when pushed together allowed the ignition system to work. The two plugs in the harness were taken apart with some difficulty due to corrosion. Note the plug on the right is the one that was working intermediately, and the reason is evident as one of the pins was broken.
The plugs were soaked for 30 minutes in white vinegar, neutralized by a solution of baking soda, the cleaned and dried with CRC Marine QD Electronics Cleaner.
The plugs were filled with Permatex Dielectric Grease, plugged and unplugged several times to spread the grease, then the harness was reassembled and the plugs were wrapped with electrical tape. Note the bypass for the broken pin.