Mass Air Flow Valve. It fails after 80-100K miles. The O2 sensor would give you incomplete combustion. The MAF would kill the car dead in an intersection.
It’s basically a sensor in a tube on top of your engine. It can be expensive, at least it was on my german car. Likely cheaper for an American truck.
Get it fixed or you’ll die in traffic. It’ll cut off anywhere- 4 way stops, train tracks, highways- it is random.
The second thing I would look at is a slow drain if your alternator is failing and can’t keep the car spark plugs sparking. Not probable, but you haven’t told me your life story, so it’s the second option. That’s it. Good luck.
wonder if cleaning it would help. crc makes a maf sensor cleaner that is supposed to be safe.