car will crank and idle perfectly.As soon as you try to accelerate it goes dead. on 1999 Volkswagen Beetle

Have replaced crank and cam sensor and fuel relay. What can be causing this?

1 answer 2 comments
mass air flow sensors are known to go bad. scan codes a ck maf sensor
Changed MAF sensor and this didn't help.
get a diag and est