distributor replacement on 1996 Volkswagen Jetta

A diagnostic tool says that the camshaft position sensor is bad, and come to find out that the distributor is the sensor in question. Can this be verified and if so how to go about replacing the distributor, easy, medium or hard and any other details that will be helpful?
thank you

Asked by for the 1996 Volkswagen Jetta
test for battery voltage between the two outer wires on the distributor 3 pin plug with the key on and check there are no breaks in the middle wire to the eng module (pin 44?). if thats ok you need a distributor or (very unlikely) an eng module. lining up the oil pump drive and timing window is mandatory and may be a little hard. there is no "timing" ajustment like old cars. this is just a sensor window.