Measure the voltage between ECM connector and chassis ground.
Connector & terminal
(B134) No. 19 (+) — Chassis ground (−):
Does the voltage change by shaking the ECM harness and connector?
Repair the poor contact of ECM connector.
Replace the ECM.