Ignition ecu box test?

Don’t know how much effort $20 is to you, but you can buy a cheap one for about that & change it out & see if it is the cause. If doesn’t fix it, it never hurts to have a spare for emergencies.