Kenmore Dryer comes on for 10 min then cuts off

I have a Kenmore Dryer that cuts off after 10 min. After trying to restart it does nothing. If I wait about 30-45 min and try again, it come on and goes off again after about 10 min. Could this be a bad motor? And any advice on replacing it?