FWIW, I've never been able to keep a riding mower running with the OEM wiring harness and switches functioning.
The switches are questionable quality and the circuitry, with all the lawyer interlocks, something is always corroded, loose or broken. Usually, the spark for the engine goes...