I had the same issue. I was chasing problem for weeks. I cleaned all the electrical plugs in the engine bay beside ECM one. I even replaced throttle body. In my case it was actually ECM plug. It was getting loose. After cleaning it and re-plugging never came back.