Also may be dying while at idle because alternator not working at low RPM...
My car was doing this- drive around and then pull into driveway and die.
Not so much the alternator but losing charge through ammeter. there is easy fix for this.
Does it feel like it loads up and then dies? You have a voltmeter?