im also getting a P1349 code my idle/throttle has a mind of its own on 2001 Toyota Echo

i change the Throttle Position Sensor but nothing changed could it be a idle air control valve issue

2 answers
do you have any eng codes?
bad fuel pump, blocked (almost blocked) fuel filter, blocked fuel pump screen, not enough spark, not enough fuel, not enough air. Could be Mass flow air sensor, just try cleaning it with , brake cleaner works the best.