95 Jeep Gand Cherokee

I have a 1995 Jeep Grand Cherokee 4×4 4.0 liter that suddenly stopped running while I was driving. When it first started it would stutter and not pick up speed. I would have to restart the engine. I changed the fuel filter but this haven’t done any good. Now it constantly kills after a while.