AccelStepper with Nema34 skips with stepper.run

If a stepper skips steps, either the electromechanical design or code is incorrect, or both.

You have not posted enough information on either of those topics to do anything but guess.