Check Engine Light That Just Won't Go Away!

Yes, its completely possible that the lurching is an issue with how the engine is running. It may also be an issue of transmission control rather than internal to the transmission.

When you report back with the codes give as much info as you can on how/when you’ve done the basic maintenance - not oil changes - other stuff like spark plugs & wires, filters, transmission service.

Why was the engine replaced?