The same has happened to my ac.
Symptom....no fan run but compressor runs.
I could spin fan by hand and then the fan would run.
Cure..... replaced start capacitor.
No need to replace motor.
Be sure to observe safety protocols since the capacitor holds a charge. It’ll knock you off the roof if you touch the posts and it has a charge in it.
Also take a picture so you can duplicate connections.