Why do you think it is the sensor? Do you have a code that identifies a sensor issue? When you crank the engine, the tach should move on the dash. If it does, the sensor is working sending a signal to the ECM.
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.