Starting with the basics...... is your fuel level over 1/4 tank? It is designed ot shut off when the fuel reaches 1/4 tank or less.
If you do have enough fuel, it could be an issue with the fuel level sensor shutting it off if it thinks there is not enough fuel.
__________________
|