Three days ago my car started having some problems. I would be able to drive my car for about 15 minutes before it would shut off. I tried to restart the car and the engine turned over but wouldn't catch. After about 10 minutes the car started and I drove it home. I checked the oil level, air filter, fuses, and coolant. The following day I drove the car to my dad's and the same stalling issue occurred and it restarted after 10 minutes and I continued driving to my destination. At this point my car had about a little under half a tank of gas. We checked the vacuum in the gas tank, which seemed all right. I then drove the car for a while to make it stall, once stalled we turned the key and it would turn over, but, not catch. We then immediately opened the gas cap and the car turned over leading us to believe there is an issue with the vacuum in the fuel tank. We have since driven the car for over an hour and it has not stalled, however, the gas level is now lower than a quarter of a tank. So I am back to square one. The check engine light is always on in the car so I cannot tell if a sensor is bad.
The car had similar stalling issues two years ago and the crank sensor was replaced. Four years ago the oxygen sensor was replaced.
We are going to check the mass air flow sensor and lights. Any other suggestions would be greatly appreciated.
1998
Volkswagen Beetle
2.0 L
145,000 Miles