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