Thank you. I will try everything and come back with an answer.
When I run a stress test for the RAM or the CPU, nothing happens.
This happens mainly when I run a stress test for the power supply (all parts 100%)
The store did a full inspection for several hours and found no problem.
I also have cutom extension cables that I use and I didn't give them to the store, could that be the problem?
The power supply is connected in:
2*8 pin to GPU
2*8 pin to the motherboard
I am looking for another power supply for testing
Did the store use different cables or those you use? Did the store use a completely different system or yours to do the inspection?
As I already said: Could be just using a wrong cable setup, maybe your custom cables - try replacing them with the ones that came with the PSU before replacing the PSU.
I use a system that is comparable to yours: 5800X with a XFX 6900 XT (also two 8-pin cables) on a be quiet 850W PSU. In my case - check your PSU's manual - it was stated to plug PCIe power cables in a specific manner to prevent overloading the rails - which could be the reason your system restarts - which it only does when there is load on CPU and GPU as you said.
Edit: If I remember correctly techpowerup got power spikes of 600+W when testing the 6900 XT. If this is the case with your GPU (silicon lottery) and it's not the cabling, it does not necessarily mean your PSU is damaged/broken, it might just do what it is supposed to do if this happens: Trigger overcurrent protection. but in this case you either have to reduce the PPT of your GPU and/or CPU or actually get a better (1000W) and/or higher quality PSU, maybe a PSU of a different brand.
Edit 2: Just out of curiosity I did check the ASUS page, there is a "RECOMMENDED PSU TABLE". Based on that table ASUS recommends using their 1000W PSU when combining an R9 with the 6900 XT. Might answer the question why your system restarts when under full GPU and CPU load.