Ignition ecu box test?

Please check all grounds including the ignition box to fender and fender to engine and engine to battery.
If apart clean and reassemble, paint, rust and not connnect at all can do this.
Make sure your grounds are battery to engine, engine to car, and if really serious do a battery to car.
Even some resistance will cause havock.

Joe