Yeah. I could easily do that swap.Technically you could probably (very easily) swap the new switch into your old undamaged panel if you are so inclined.
After you've got all your stuff working again, take the old switch and see if you can identify the failure point on it. I'm just curious.
I'll pry the old one apart and see why such a simple device fails.