Uh, apparently most people don't understand how IAC works. It does indeed work outside of idle, just look at the datastream of any fuel injected vehicle and watch the IAC movement while driving. Just wanted to clear that up.
That being said, IAC will not cause stalling outside of idle, and even then could be "corrected" with the gas pedal, as it's just a metered air bleed, which you can do (albeit not as precise) with how far you open the throttle blades with the gas pedal. IAC is almost NEVER the culprit, they are near indestructible...I'm running one right now from 1988 for instance, and the one with over 130K in my car is original since 2004.
The IAC function is regulated by the computer to control idle speeds so it could affect the engine or cause stalling at a stop or if you take your foot off the gas pedal while driving. You might try removing the IAC and clean the plunger tip of it and the bore it sits in to remove any soot or carbon buildup that will affect it's function. Best to remove the air intake ductwork and also clean the area around the throttle plate of the Throttle Body as well of soot or carbon deposits which can affect engine air flow at idle...use specific Throttle Body cleaner spray sold at parts stores to clean the TB and IAC. Check on Youtube or various websites that show how to clean the IAC and TB for your model and engine or consult a repair manual...Chilton or Haynes versions sold at parts stores for around 25.00.
The IAC is basically a solenoid with a plunger that sits in a passage in the Throttle Body which allows air to bypass the throttle plate....the computer regulates how deep the IAC plunger moves in the bore to vary the amount of airflow to the engine ...only at idle...which is then used by the computer to regulate idle speeds via fuel injector pulses/ timing for the optimum fuel/air mixture based on engine temp and other factors....a cold engine needing a richer fuel/air mixture, or if AC compressor is turned on, it needs a higher idle speed to offset the extra load, etc...
If you have stalling issues above idle or while driving, it's likely other issues. Use a scan tool...or have a shop do it... to see if the various sensors and devices are operating correctly for a given engine operating parameter while driving or idling and some problems may not set a trouble code if they are not caused by a problem in the closed loop computer system but are due to other engine issues or non-computer related issues.
If it does it whilst driving along with your foot on the gas then it is not the IAC valve as this only operates when your foot is off the gas
iac doesnt do a damn thing off idle so if its when you let off, yes. there is a way to test it. hit the library, bust out a tech manual
If the idle air control valve it's bad could this make my truck cut off on me while im driving or when I come to a complete stop ?