I started having this problem with my 2013 Jeep Patriot a few months ago, I was going up a hill and the vehicle just died I pulled off and restarted it and kept going. It would seem to always do it in that one same spot if I went over 50 mph as long as I kept it at 50 it would make it all right. When I was able to get a code it was p0315 which had something to do with the crankshaft sensor. I bought a new one and installed it yesterday, But it was late by the time I finished so I didn't try it out until this morning. When I started the vehicle it would run sputter then die. I kept trying to start it and every once in awhile it would run a little longer even though it would sputter but then it would eventually die again. Probably about the 10th time or so that I tried to start it sputtered a few times But then to my surprise return to a normal idol so I thought maybe it had adjusted itself somehow and was now okay. I then took it for a test drive and it ran pretty good for a while until I got up to about 60 and then it started cutting out but the engine wouldn't die unless I stopped, I figured since I was moving that kept the engine running. Anyway the code I get now is a p0339. Does this sound like a bad sensor or bad wiring or a bad connection? Is there anything else I might check?