Check poor contact of ECM connector.
Is there poor contact in ECM connector?
Repair the poor contact of ECM connector.
Repair the power supply circuit to the main fuse box.