Basically, you take one of the default static meshes (an cube works well) and use the default modeling tools to mold it into an rectangle and shave off the unnecessary bits until it looks like an sword. As for adding several materials to it, since you’ll likely want the hilt to be an different color, here’s an quick video on how to do so.
Just bear in mind that the more polygons that an object has the more precise that this part would be.
For the stabbing part…That’s an separate headache that I’ll leave you to deal with. Every once in an while, there’s an free asset pack pops up in the marketplace that actually has this feature. In fact, there was one that was available two months ago? But anyways, there’s quite an few series on YouTube that does an deep dive into that kind of stuff
But more importantly, as the other person said IP laws are an thing and Nintendo will do whatever it takes to protect their content from copyright infringement; so you can’t use this process to recreate some variant of the Master Sword and use it for commercial use.