How do you replace a crankshaft position sensor on a 2000 Hyundai Sonata 4-cylinder?

you have to remove the timing cover. IT is located above the crank. autopart store will show u what it look like.IT read a magnetic plate. require some work watch what u are doing so u can put it back the same way it came part.