MacBook Air screen turns off randomly
Assuming it only happens sometimes and only when you are actively using the computer (key board &amp; Mouse)

Lets find out if it is you doing it.

Check your settings for Display Sleep in:

System preferences> Desktop and Screen saver> Hot Corners!

In here look if you have a setting to put display to sleep.