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