Hi, my name is Kyle and I'm an Acura expert here on JustAnswer.com. I'd be glad to help you with this problem.
I would check for a restricted exhaust and see if this is causing the problem. On that engine a plugged or partially plugged catalytic converter can cause this type of symptom. You can disconnect the exhaust before the catalytic converter and see if the problem goes away OR use a vacuum gauge attached to an intake port and see if the vacuum drops when the problem occurs. That would be a dead giveaway that the exhaust is plugged up.
Hope that helps.
But why would turning off the car and immediately restarting causing the plugged cat to disappear and return a month or 2 later. I can't connect a vacuum gauge and drive around for a couple of months until it pops up again.
I was hoping that there would be some TSB's or something out there about this condition as I have seen several reports of people talking about this issue on Acura's and Civic's but I could not find any reports of a solution.
If it's restarting right away it's probably not the catalytic converter. There is no bulletin for this symptom I doubled checked for you. The only thing I can think of that could be causing this is a bad ignition switch. We had a lot of issues with them. Basically the solder joints inside the switch crack over time from hot/cold cycling and then they will "open" the circuit at random while you're driving and the car shuts off. If it had no power that would make me believe this is the cause. It's like someone just turns the key off.
Hope that helps!