MacBook Air frequent shutdown with shutdown with shutdown cause -128
From our own George Garside's blog


  -128 --  Possibly linked to memory issue. If the issue is persistent, try replacing the RAM with known-good if your hardware has removable
  RAM.