You would need the permission of both parents. Ideally an attorney's assistance would be the best way to handle it.
How old is the child? Is the presumed father in the picture? If so, does he agree to this guardianship? Is he paying child support? Is mom going to be paying you support? Is there...