Possibly. But if it your yorkie flips a switch and attacks you could fight it off with a fly swatter. When a pit goes nuts on you you're in trouble.
That is what I am saying. Pitbulls in most cases are no more likely to attack a human than a small dog, but the reason they are dangerous is because they are so powerful. This is the same thing that makes them a great dog if trained properly.