In this case I would suggest so called "absolute encoder" which will give you certain amount of unique readings for each position, for example 65536 per rotation. You may not need this high resolution, so it will be the matter of finding the right encoder.
You can mout t directly n the shaft or through gears or small belt.
You will need something to read the encoder output (PC, PLC, microcontroller..) and control your motor accordingly (maybe small VSD with Start/Stop feature).