Changing the stator involves removing the engine (big job). The stators are still available, but I don't know about all the gaskets involved.
You can test the stator by cutting off the plug and testing the AC voltage between the wires. 1-2, 2-3, 3-1. You should get 60-70 volts AC between all of them.
If your not riding more than 5-10 miles, you may be able to get home with a fully charged battery, but that's cutting it close.