Depends upon the conditions of his probation; if he cannot be around kids without supervision, it's not likely he's ever going to get custody. In any case, as a convicted pedophile, most judges are certain to take that into consideration when a custody hearing is done.
In any case, it would be safest if she took custody first, and then worked with the courts to come up with a more permanent custody solution with the assistance of a judge.

