Engine speed sensor, also known as the crank sensor, is a very common cause of cutting out/stalling issues. The wiring tends to get brittle where it runs close to the engine, and they can fail intermittantly. Make sure you get an OE quality one (though not necessarily from VW) as the cheap ones are poop (one last 2 days for me). Easy to fit as long as you have some axle stands and a jack to support the engine, as you need to remove the frotn engine mount/starter motor to get access.