It should work if you provide 5V to the drive + pin (5V needs to have a shared gnd with the controller), then only connect the step/dir - outputs to the drive Step/dir inputs.