It would be wise, prior to leaving with the child, to obtain a written custody/visitation agreement. This would avoid allegations of parental abduction and keep things cool while the process plays out.
I suggest speaking with a divorce attorney for guidance regarding child custody, but your...