@davidfaell15770 Alright, from what I have read at least to me like it can be a problem of one of 2 parts, the 1st one which I really hope is the one that is causing issues is the power supply, hopefully the capacitors or something in there is causing it to reboot and freakout, the 2nd one could potentially mean game over for your ps4, which is the motherboard. I have heard of cases of the main apu chip being bad causing this error.
Another thing I can think of with the power supply is at some point maybe the cord was pulled on too hard? You could try turning on the ps4 and wiggling the power cable, without unplugging it. If it shuts off immediately it could be broken solder joints on the ac cable connector on the power supply. If you haven't cleaned the connector already, I would suggest you do that as well just in case.