If its sparking when the key is released from start, then check J3 connections and hte key switch itself.
You check for major faults using resistance or continuity. One probe connected to the feed into the key switch (battery disconnected). and the other probe at J3 circuit.