Sounds like the idle airflow tables and or the ve table are messed up.

Is the misfire code p0300?