You were charged with domestic violence against your husband where a child was involved and your case was dismissed will it affect yours chances to get your sons custody in case of divorce?

A dismissal of a case does NOT count as a conviction. However, the details in this case might matter.