Consult an attorney in your state.  The most important consideration is that the Court will both assign child custody and re-visit child support on the basis of the standard "best interest of the child."  In short, you will need to show that placing custody with you, and not with the other parent, is in the best interest of the child.