starts but dies on 2001 Volkswagen Beetle

car will start and run for a few seconds and then die
will restart everytime, cleaned mas air flow car ran great but has sence started dieing again

Asked by for the 2001 Volkswagen Beetle
Check for diagnostic trouble codes in the engine module, post them here and we can give more info.
1 more answer
On mass air flow sensors, the best defense is to replace them. Try it.