Yes the crank position sensor will give those symptoms drive for awhile then when the vehicle is hot it will die. Let it sit for a few minutes then it will restart after sensor cools. had this happen to me