Dodge ram idle issue

i was thinking IAC (idle air control) motor but the fact that its intermitten bothers me ......one time i had similar problem on a dodge caravan and i thought it was the IAC everything pointed to it and turned out to be chaffed weak broken wire to to IAC.