I'd say so. You can try taking it off and cleaning it to see if it helps. Usually doesn't cause the actual solenoid is what goes bad most of the time. A test it to whack it with a wrench while it's idling crappy to see if it clears up when you hit it.
'97 F-150 4.6L 5-speed Off-road: PI head swap, 3.8L Taurus E-fan w/DCC controller, VMP Tuning custom tunes with SCT X3, Pacesetter shorties, Gotts mod, 3" body lift, 285/70/17 Nitto Crossteks, Expedition front brake swap, Herculiner two-tone, 2-6" driving lights behind billet grille, 2-10" subs under rear seat.