Hello Moparts.

My 1999 Ram 1500 5.2L threw a code this morning. It's P0505 as described in the subject.
The truck is idling and running fine.
About a year ago the idle air motor went out and was replaced. Back then, it did not set a code.
Where should I start checking first? The idle motor was not a Mopar part, just whatever brand the parts place sold me.

To add slightly more information that might help- ever since owning the truck, I've had an odd idle problem where first thing in the morning it starts fine then when it idles down it starts running rough, then the idle speed goes back up. The happens about two times and goes away once the truck is warm. Wondering if that issue overworked my IAC and burned it out.

Thanks.