1999 Ford F150 - idle speed question

hey, I have a ford F150 1999. sometimes it idles high and sometimes not what could be the problem?

Could be a faulty idle air control valve