Look at the back of the gearbox from below, meaning from back to front.
Then you should see one sensor on the right and one on the left of the transmission. Critters often get into them and chew on the wires.
Oops... I was basing my assumptions on the Passat V6 TDI.
If I understand correctly, the T4 transmission has two sensors, one on the side and one on top... it must be the one on top. (Part number: 095 927 321c?)
It's a bit surprising, though, that the DZM is still working.