If you want a single child to live with an adult, you have to raise their relationship with that adult. At some relationship status you get the option when socializing to "Ask to Adopt" from either the child or adult, or both. Can't really remember but I've done it before in cases where (oops) I let a child's parents die of old age before he was old enough to move around on his own. You can do this with a toddler or teen, too, I believe.
So it should work with the parents of the child as long as there is room in their household. So as the previous reply said, you would have to move the child's parents to a lot with room and then raise the relationship. I don't know how the child ended up alone, but this would fix it I think. As to how you move out the couple without breaking them up and then getting them back together in the new house I don't know. I've never been able to move a married couple only from a house with more than them living in it. I've ended up stuck with 2 childless couples in a house together and had to kill off a sim or break up a couple. I can move either a whole household or a single sim, but not just split a household down the middle.