What if the parents disagree on child custody/time-sharing and visitation?

If the parents are unable to agree on an ultimate parenting plan and time-sharing, then that decision will go to whatever judge that their case is assigned to. The judge will evaluate the factors and determine what's in the best interest of the children, and ultimately, put together a parenting plan that's going to be best for that particular family.