Maybe you were looking for...

How do I give an effect to all players that are not in the radius of 4 around my villager?

I have the command: execute @e[type=Villager] ~ ~ ~ effect @a[r=!4] 19 5 2 It should give poison to all players that are not in the radius of 4 blocks around