2005 Dodge Grand Caravan - Engine Starts/Stops

the engine start but shot off in 15 min after

Was there enough gas? Will it restart? Was the check engine light on before it died?