99 2.5 ranger bad idle!!!!

I need help guys.. I replace the air control sensor massive air sensor an the map sensor.. I have to keep the air control sensor unplugged or it will idle way to high an it’s new by the way. Long As I keep it unplugged it runs okay but sometimes idles alittle high then goes real low an keeps doing it then goes to normal then does it again I put two new air control sensor thinking a bad part on it I looked at all the vacuum lines they seem to be okay ima spray some carb cleaner to see if the idle changes to see for leaks. But non of them are dry rotted looks good an I took out the glove box to see if those vacuums limes where bad looks new still.