Hi,
My MBA 13´(early, 2014) 8GB 128ssd turns off if i close the lid or put to sleep.
I already try:
Clean install of OS X (try 3 different versions)
Reset SMC
Internal cleaning of components
Switch the power suply (the problem happens with ou without the mba on the energy)
And the problem...