2002 isuzu trooper

car has 1/4 tank of gas.it will start if you turn key on and wait 30 seconds.will run for about 30 seconds and then it will die.