If you held a sword up trying to deflect a bullet against a single Shotgun Slug, probably only 1/5 of the slugs would be blocked, and the rest would penetrate your upper body. You know, I would expect the blade to break off, so the sword situation is just impossible.
More like 0/5 would be blocked.
1. Trying to shoot something as thick as a hair is extremely difficult, even for marksman. Relying on luck in that situation would be like relying on god (tip: you're going to get shot).
2. A shotgun slug is huge, if the blade didn't break first, it would shear the slug in half (also assuming you have enough strength to resist the impact force of a bullet, but not block it. You'd still get hit.
3. More likely, the blade would break immediately and you'd have shrapnel inside you along with a bullet.
4. The force off of the slug would cause your arms to recoil if it collided with the sword, so now you've got a sword in your face.
I say again, the chances of you surviving a gunshot by blocking it with a sword are so microscopically low it shouldn't even be considered plausible.