Make a servo run using a tact switch

What part are you having trouble with? There are example sketches in the IDE to sweep servos, and there are examples to read switches.