ge profile microwave shutting off

if we use our microwave for anytime over 3 minutes it shuts completely down for about 6 minutes and then powers back up. im trying to order parts to fix it, but dont know which part is causing this. it seems to be over heating.