1987 ford ranger help

If I remember right there is a IAC valve on the passenger side of the intake manifold and these get carboned up.

Looks like this;

I’d also be looking for a vacuum leak. All those hoses are most likely pretty dried out and brittle.

Yosemite