I was having a similar issue in cold weather. Truck would start, run about 1 min then cough, sputter and throw codes for a few minutes and then smooth out. It was only cold start, and went away once engine warmed. For me I traced it to the intake manifold gaskets. Always got P0300, but had...