Couple of things come to mind.
The TPS(throttle position sensor) is like a volume control or light dimmer, knob type control.
It is a variable resistor, so a moving part that can wear out.
Computer sends the TPS 5 volts and then reads the returning voltage to set injector's open time(fuel delivery), under 1volt coming back means idle, above 4.5volts coming back means foot to the floor.
If there is a dead spot or resistance/voltage hops around, fuel delivery would be effected.
This sensor is easy to test with an OHM meter.
Remove connector hook up OHM meter and slowly open throttle while watching OHM meter, OHMs should slowly increase or decrease, which doesn't matter, what you are watching for is a sudden jumping up or down on the meter, meaning a bad spot.
Repeat opening and closing a few times, if all is smooth then TPS is OK.
MAF sensor and/or MAP sensor
MAF sensors do need to be cleaned, read here:
http://www.therangerstation.com/tech_library/CleanMAF.html
MAP sensors use a vacuum line to read intake manifold pressure, this is used to adjust fuel/air mix, the MAP sensor, if you have one, is usually located on the passenger side firewall, hidden by wiring harness, lol.
Find a vacuum line running at that location and the MAP sensor will be at the end, check the vacuum line for cracks, and check the connector for corrosion.
I don't think this would cause an RPM specific issue, but easy to have a look.
If you have a distributor and the TFI ignition system then it should be tested, read here:
http://www.therangerstation.com/tech_library/TFI_Diagnostic.html
Print off the worksheet
Distributor shaft should be checked as well, they can develop a wobble if bushings get worn out, this can cause misfires at specific RPMs that come and go.
remove cap and feel if shaft is loose, have someone turn over the engine while you watch for a wobble.
There is an IAT(intake air temp) sensor, but it is a gross reading sensor, used to lean out or richen fuel/air based on air temp, cold air is denser so needs more fuel mixed.
IMO, it would be hard for this sensor to cause an RPM specific issue.