Just my take on this but,
it sounds like you have a bad IAC valve (engine idle) or some bad catalytic converters or O2 sensors (lean codes in PCM). I would recommend taking your Explorer to someone who knows what they are doing and pay them a few dollars, for, if nothing else, telling you what is wrong with your truck.
Fordman123