I was climbing a long, rough hill today, not too steep but had been climbing it for about 1.5-2 miles. While going up one particularly rough section, the jeep stalled out and died. I'd restart and when I tried moving again, it died. This happened a few times (all while sloping up hill). It got to the point where it would turn over, rev a second then die. We pushed it around to get it facing downhill again. By this time the battery was drained from starting too many times. I rolled down the hill a ways, tried popping the clutch a few times before it finally caught. From there, it ran perfectly for many miles, including some good hills.
It's an 87 YJ with the 4.2, a Weber carb that I installed about 300 miles ago and a fuel filter installed at the same time. I filled the tank before heading out today.
Any ideas on what the problem might have been and how to fix it? I'm thinking maybe the fuel pump just didn't have the power to keep pushing it up.