It is not random. It is a percentage that is applied to every attack with certain resirictions.
3 times in a row cannot happen. An enemy who has dodged will ot dodge the next attack, be it from a unit it from retaliation. So simply be careful. Have the enemy dodge a simple attack that won't hurt him/her much, then hit him with the best you've got. It is as simple as that