not sure about the p0340 code. did you install the motor or did a shop? if the cam sensor is bad or too far out of timing it could be causing the jerk.
the p0441 could just be in need of a gas cap.
the seal I'm not sure. if you had a shop replace motor I would take it back to them and have them fix it.