a lot of jeeps do what you are describing almost everyone I worked on had a bad ECM so now that is the first thing I always check ,
symptoms usually are as follows , starving for fuel , runs rich , stalls , runs rough , fouling out plugs , acts like catalytic is clogged.