I had the same thing and it…
I had the same thing and it was actually a small pin in one of the connectors was bent or broke off… it did that to me twice before .. the whole shutdown thing… I didn’t take no for an answer.. they had it for a week the first time and got it back not even 100 miles and it did it all again .. so that time I made th give me a loaner and .. this was at Hunt Ford in Franklin, Ky . After I got it back with the explanation of the small pinion the connector.. I haven’t had any more problems. Mine was brand new just like yours .. so I am wondering if it’s the same issue.. had those same error codes and everything. I have a 2022 of the same model as yours too.. said that maybe in the factory mine just got a bad connector. They had not had that happen either.