This is a Nintendo Submission Package file format, which is the digital format used for games on the eShop.

This is a compressed archive format. To use the game, the .nsp file must be extracted from the .rar first. Risks and Safety Concerns

Distributing or downloading copyrighted material like games without authorization is illegal in many jurisdictions. Official Alternatives

The safest and only legal way to play Minecraft on the Nintendo Switch is to purchase it through official channels:

Unofficial downloads, especially those packaged in .rar or .zip files, can contain malicious code. Some malicious .nsp files have been known to "brick" consoles (render them permanently unusable) when installed.

Purchase the digital version directly from the Official Nintendo Store .