Car is jerking when going up hills and accelerating?

I’d bet that a set of spark plugs, spark plug wires, and a new cap & rotor will cure this jerking. Rocketman