To take a screenshot on the Nintendo Switch, you'll just need to press the console's dedicated screenshot button.
You can set up your Nintendo Switch for repair after contacting Nintendo Support through the options provided on Nintendo's website.