Let me start off by saying I know very little about cars, I can do an oil change on my truck and that's about it. Recently my check engine light came on for idle air control and whenever I'm at an idle the engine starts to Rev up and down on its own, and even when I'm driving sometimes. Do I need to replace the IAC valve? Also, this may or may not be related to this issue but I was looking under the hood and behind the battery there is what looks like a sensor not plugged into anything at all. I've attached a picture to this thread. Does anyone know where or if this is supposed to be plugged into anything? Thank you all!