1996 jeep cherokee

The jeep has about 150,000 miles.

Currently it dies while driving.

Sometime the check engine light turns on when it occurs and turns off a little later.

Go to parts store and have codes checked and post them here.

And get the actual code like P1234 and not the translation like O2 sensor.

Thanks.
I will do just that and post.