You can't drive this circuit with 5v from a regulator. It requires a PWM( or switching if you prefer) waveform to work.
If you want to drive the motor from 5V , the easiest way is to use a transistor or fet to drive the motor.
At 300V , make sure you use high voltage transistors or IGBT.
Connect one side of the motor to 300V , the other side to the transistor collector(Drain if FET)
Transistor's emitter(source if FET) to gnd. Drive the base with your 5V signal(via resistor).
Don't forget to put a freewheeling diode reversed across the motor to circulate the current in the motor.
Far from elegant , but it will work. No speed control unless you pwm the base , but if you are going to use pwm , use
your original cct!
All that being said , it sounds like you are not very experienced with electronics. Maybe get going with 12V motors.
300V is pretty dangerous and there is probably no isolation here!!
Neddie
Actually the easiest way to drive this motor is via a relay!!