My car was cutting out when the engine was hot. RPM gauge dropped to zero instantly & engine cuts out immediateley. Scanning the car with vagcom / VCDS showed an error with the G28 sensor aka Crankshaft Position sensor. Other names are Engine Speed sensor and in Dutch BDP sensor or krukaspositie sensor.
I followed this video guide, which helped me tremendously, so thank you Thomas EXOVCDS. Took me about an hour on axle stands, so not that bad.