I used to have a Toshiba laptop with a similar problem. It would boot, run for a few minutes and then shut down. Overheating was the problem. Excessive dust will cause overheating. You may want to try blowing out the fan and the exhaust port (not sure if that is the right term) with some compressed air.