Hello and welcome to JustAnswer!
Let's see what codes are stored turning your engine light on. Cycle the key from off to on three times ending with it on and watch the digital odometer display. Don't crank the starter, just off to on. The codes start with a P and have four numbers, there may be more than one stored. Write down any that you see and post them here.
That was the only code you saw before it said "p donE"?
Does the trans stop shifting, or is the engine running out of power?
Does it seem like you are hitting a rev limiter and it just physically won't allow you to accelerate any faster?
Perfect. The P0340 was the one I was looking for.
P0340 is for the camshaft position sensor. This sensor is mounted to the left end of the cylinder head and runs off a magnet on the end of the cam. It tells the engine controller exactly where the cam is in it's rotation. When the cam signal drops out or isn't clean, the engine controller will impose a low rev limiter, normally in the 2,500 rpm area. This is where your lack of power is coming from.
Cam sensor failures do happen on the 2.0 and 2.4 engines. You could always have a wiring problem, but it's common enough that truthfully I wouldn't do any more than a visual inspection of the wiring if I was looking at one in the shop, and I would go straight to replacing the sensor. If the wiring looks ok, go ahead and replace the sensor with a Mopar part from your dealer (it's cheap and will be far better quality than aftermarket). It's located on the left end of the cylinder head, a three wire electrical connector and two 10mm bolts holding it on.