Jeep Cherokee with total cutout

I own a 2000 Jeep Cherokee with 133K miles. For the last three months the car has been experiencing a sort of hiccup, if you will, like a cylinder missed or something. Lately it has been stalling out at the light and not starting for some time. The vehicle has to be pushed to the side of the road. However the vehicle always starts after some wait. I just put a new set of plugs and new wire harness. Fuel pump checks out as good.