My Car stalled and wouldnt restart on 2006 Acura TL

Happened 2 days in a row while driving, and wouldnt restart when it did start it stayed at 4-5 rpm rough idle and only while pressing the gas, after 45 min or so it started just fine and i drove it.

1 answer
try putting it into neutral to start it when this happens. I had this problem once before and seemed to do the trick at least until I was able to get it fixed.