Arduino, Ultrasonic, Servo Motor and Capacitor?

The motor will require a fixed number of steps to make a single rotation, so if you send a multiple of that number of steps you will get multiple rotations

As to how to do it, take a a look at the examples for the Stepper library in the IDE

Note that you will need a stepper driver to interface between the Arduino and the stepper motor and external power to power the stepper