Help with a stator

I have a 1986 Honda fourtrax 350 4×4. This model uses a fuel pump
Powered by the battery. The batter is good and the fuel
Pump is brand new and I took it to a mechanic and he said to fix the stator for parts and labor it would be almost 900$. I can charge the battery and ride it fine. But when the battery dies (because the stator is broke the battery won’t recharge) the fuel pump stops working and I’m stuck. How do I fix the stator for much less and doing it myself with limited knowledge? Any help
Would be great!