A:Answer The good thing about buying from Best Buy is they have a 14 day return window. Test the computer out during that time and see how it works for you. If you don't like it - return it! If you built a computer yourself and had any issues you would need to troubleshoot it, ship it back and wait for a new part. The parts may not be the best but research should have been done - Ryzen 3700x CPUs run hot, they like fast ram and a RX580 is an older graphics card. This is not a custom build but is about 1/2 the price of one when on sale; can't expect to get a mass produced system to run like a custom build.
As far as shutting down - is it a heat problem? Play around with the fan curve in bios, have the fans spin faster if need be to see if it helps... or if within the 14 day window - return it. I've had this running every day since I bought it and the temps on the CPU rise a lot but the fans are kicking in to cool it down. I even had the CPU at 100% - software glitch I think - and it stayed on.