yes,if it is in fact one of the front sensors,however,it is cheaper by far to buy the entire wheel bearing hub with the sensor in it.
the sensor for what ever reason is ninety percent of the cost of the hub assembly.
for example,if the sensor is 125 and some change,the entire hub will be only ten bucks or so more and you get a new hub and bearing assembly.
its an easy fix,takes about an hour to replace,remove entire brake assembly and hang out of the way,unhook the sensor,axle nut,three bolts on the backside of the knuckle,and if you are lucky and the hub is not corroded in,you can drive it out fairly easy.
clean the bearing bore in the knuckle,apply anti-seize in the bore,reinstall the hub,torque the bolts and the hub nut to spec’s and replace everything removed.the abs code should clear itself once it sees a signal from the new sensor and your cruise will work again.
do not buy the cheap hub assembly,I can promise you it will fail within a year or two.
this is if you want to do it yourself,shop labor here would run 105 plus tax.