It depends on the child and the Yorkie. I have two kids and it was hard to find a breeder who would check my references. Once I did, they called the humane society and my vet and knew I would be fine. My kids are great with them
I would suggest looking for a breeder who does something like that - but most won't sell the tiny ones to people with kids no matter what.