The reason for Previous shutdown cause: -128
I saw a Mac do a similar thing and it turned out to be the logic board. Unfortunately, you might have to take your Mac to the Apple Store or a computer shop for them to replace it.