Measure the voltage between ECM connector and chassis ground.
Connector & terminal
(B135) No. 7 (+) — 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.