If you were never married to your child's father and you have sole legal and physical custody who gets custody if you die?
The childs' father, married or not. Your relationship to the father is irrelevent. The father is the first on a long list of family members. Create a living will if that is not acceptable.