Check poor contact of connector between ECM and accelerator pedal position sensor.
Is there poor contact?
Repair the poor contact.
Temporary poor contact occurred, but it is normal at present.