It's typically located on the transmission itself, near where the shift linkage connects. However, its exact location and appearance might vary slightly depending on the transmission type (e.g., 3-speed, 4-speed automatic). You'd likely find it by tracing the wiring harness from the ignition switch to the transmission. Accessing it often requires removing some parts, so consult a repair manual specific to your vehicle's year and model. A repair manual will give detailed diagrams and instructions.
A faulty neutral safety switch can lead to the engine not starting, or even starting in gear which is very dangerous.