2004 Ford Mustang 3.9 V6

ok here is what my car is doing.  I was driving down the road and the radio started to cut out.  I turned the car off and it would not restart.  I jump started it and it ran for about a mile then cut off again.  i let it sit for about 30 mins  it started on its own and went for about half a mile and cut off again.  i jumped started it again and then it did the same thing.  the fuel was low almost empty.  i added some fuel while in the yard and it was running but the battery light came on.  what does it sound like is wrong with it?