Any suggestions why car just stops and will not restart? on 1998 Volkswagen Beetle

Driving down road and car just shuts off. Have changed oil, oil filter & fuel filter. This is a 98 beetle diesel. Thanks for any help.

Asked by for the 1998 Volkswagen Beetle
could be a fuse. does it crank over or completely dead?
It turns over but it just will not start.
1 more answer
That happens to me but ONLY when I need to put gas in my car and it's almost on the red. Does it every time..