Measure the resistance between ECM connector and chassis ground.
Connector & terminal
(B134) No. 24 — Chassis ground:
(B134) No. 24 — (B134) No. 31:
Is the resistance 1 MΩ or more?
Repair the short circuit to ground in harness between ECM connector and accelerator pedal position sensor connector.