Maytag Dryer

I have an electric Maytag dryer. There is a button you push to start the dryer. It just humms a little bit and then nothing. It smells a little like electrical burning. Then a short time later it will do the same thing but can’t get the dryer started. Do I need to just change the switch? or is it more than that?