Hello, my name is XXXXX XXXXX X am here to assist you
Typically these symptoms are due to a crank sensor that quites when hot. You will need to check for spark and injector pulse when it is failing. If you have neither then it is a bad crankshaft position sensor. Even just finding that there is no spark is fairly conclusive. This is a very common problem on these.
Thanks for the question, let me know if I can further assist you.