you need 3 command blocks
Note: Minify the command to avoid issues :)
tp bow
wild villager
master_sword
GOD SWORD!
GOD SWORD! 1.11.2
The Super Sword
OP DIAMOND SWORD!!!