Suggest you trace the wiring all the way from the fan to supply find the fault, repair it and then fit the new motor youve already ordered and recycle the old one somewhere else.
bobs your uncle job done .

If its the speed controller , a live feed through a h/p switch to the fan gets the job done same day without ordering another part.