Yes Hymie is correct an illuminated ABS warning light will cause a vehicle to fail the MOT test.
As for sensors, each wheel will have a speed sensor each linked to the ABS ecu, but if you are saying that the light illuminates randomly, i would suggest it is not a sensor. best is take to main dealer and ask for 1 hours worth of diagnostic work to track the problem.
When you have the result from the main dealer, go back to the garage who fitted the replacement sensor and get them to rectify the fault diagnosed by VW dealer FOC.
This is standard industry practice for intermittent fault probs, small independent garages tend not to have the diagnostic experience and always jump straight to replacing sensors which is not always the cause of the fault.
By the way, i can speak with authority as a motor vehicle apprentice trainer for numerous vehicle manufacturers.