Millis() not working

will exit the loop immediately, because the motor hasn’t moved yet when this is first tested(i.e. distanceToGo is still 3520).

Suggest you try this, with your original code otherwise as posted.