Sorry JD call the interlock module an Electronic Control Unit. The Z520A has a 25 hp Kohler engine with an one barrel Keihin carburetor.Engine make model & serial numbers please
Only the fuel injected models have an ECU
Now for a general help, are the plugs getting wet ?.
This trick works for your tractors. You are referencing the ignition coil kill wire. He has a zero turn, and he verified he has spark. To the OP, if your carburetor has a fuel shut off solenoid on it, do you hear it 'click' when you turn the keyswitch on? Those plungers can stick and not allow fuel to get through the carb jets.Look for a single conductor black wire that runs near the fuel line into the engine that has a single plug/receptical on it. Unplug this and see if your mower starts. If it starts, it's the CPU. This wire defeats the mower safety functions the CPU regulates.
I have a x304 and a X324.