Switch crashes and dock doesn’t give power or read that switch is plugged in

Hi I run a game and it seems like only ranked games or a certain game mode makes my switch crash I’ve done all the resetting other than a hard format on it and it still just randomly crashes only during this one online game. Also I plug it into the original switch dock that I got with the Fortnite edition and the light doesn’t come on I believe the dock burnt out but not sure how to fix. Does it seem easy to do by myself or should I take to get it fixed professionally

Also I have the same issue where now it doesn’t read my sd card thankfully I did see a video on just that topic