I've had the same thing happen for any number of reasons. Had the IAC stick either hot or cold. I just spray some penetrating oil down the "in" side orifice for the IAC and repeat a few times while the motor is running (word to the wise, make sure the spray tube is on the spray oil nozzle securely, I almost lost one down the TB). Blip the throttle a few times ti get the IAC piston moving. I now repeat the process at least a couple times a year and avoid problems before they happen.
Bad battery was sucking down the voltage a little, which also made the IAC sluggish.
Had a partial short on the CPS which sucked down the 5 volt reference (in) voltage for any number of sensors. The 5 volt supply seems to be interrelated someway, either because the drivers (in the PCM) are the same or maybe the drivers are wired in pralell. Could be any sensor from the rear O2 sensor to the sync sensor, sucking down the 5 volt circuit.
My anti theft module was failing, remote door locks worked iffy, it also affected the ASD circuit. Motor ran like a failing CPS (barely ran).
Had a bad splice in the ASD circuit, which I found by luck (and rather quickly) by shaking a harness up by the drivers side heater vent. Which was also part of my remote door opener circuit harness. Wish I would have found the bad splice (connector), before I bought a new module.
I usually begin now by cleaning connectors, before I buy sensors or modules. Way too often the problem lies in poor conductivity (corroded or loose connector pin or splice) and not at the sensor. And/or a wire is cooking on the exhaust someplace (rear O2 sensor, CPS, front harness where it goes down the front of the motor etc.)