Hey guys, try this app made by Microsoft: Stop Restart App (link)
Hope that helps!
Why does my MS Lumia 535 turn off and on itself?