shuts off without warning on 1996 Oldsmobile Bravada

while driving my 96 olds bravada it shuts off with no warning,sometimes it starts right back up it may go for about a half mile, then it shuts off again.i turn the ignition,it turns but want start. i let it set for a while then it may start up. what can this be

Asked by for the 1996 Oldsmobile Bravada
sounds like it may have a crank position sensor going out. may or may not generate a diagnostic code or check
engine light. best confirmed at a good local GM shop before replacing any parts.