This is typical of a failing crankshaft position sensor or camshaft position sensor. Either one can fail by becoming heat-sensitive, then work again after it cools down. The place to start is by having the diagnostic fault codes read and recorded, but you're going to have to stop disconnecting the battery. Doing so erases any fault codes, then that valuable information is lost.
SPONSORED LINKS
Monday, August 3rd, 2015 AT 7:45 PM