I have this exact same... Did you get a solution??
What can be done to fix this??
Tab A screen powers down or goes black when I move it, and sometimes will power back up when I move it again. I don't hit any buttons, it does it in safe mode, it did it before I added any apps, it does it now that it has apps, I ran diagnostics and nothing was found, all parts function like they're supposed to. There is absolutely nothing I can find to explain this. I went though the programs myself, I didn't see anything there that could explain this. I thought it might be auto rotate for the screen so I turned that off, still does it if I move it too close to me or lay it down on the screen or faced up.
I also have just come accross this problem. Ive had this tablet since nov 2017 and its just started playing up today oct 2018. Randomly just restarting no matter what im doing.
Galaxay tab a 2016 model no SM T585.
Very frustrating indeed. 😣😣