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