Our Buana is a service dog for children that are afraid of dogs,
The most important thing (what a lot of people already said) is to stay calm, also the dog may not become nervous.
You can try to let your sister in law, stay with your B (if you can trust him enough to help your little nephew) and sit with him, maybe on the leash, and you stay with your nephew as far away as he's comfortable.
His mom will be the most important person on the planet, so he will react sooner when she has the dog.
Just let him look at his mom, maybe after a little while (maybe the first time after a few minuts, but maybe even after a few times trying) he will come closer, a few steps.
If you repeat that so often he will be feeling normal and eventually comes closer every time. (don't be scared if he have a bad day)
Look very closely at the behavoir of the child and the dog, and also the behavior between those two.
Your B, needs enough time to stay calm and still, and it cost some time.
You can observe your nephew and most of the time he decide by himselfe how close he get.
Fear is so complicated and needs so much time and cost a lot of energy from everyone.
Don't push it, that's only making it worse.
If he's comfortable enough, try at the end of a session to move a bit with the dog, walk a few steps, let him "do" someting small, so your nephew will learn that also some movement is not scary.
You can make the time longer, the movements bigger, etc.
Just let them look at eachoter, very very much. and hopefully he'll learn to come closer.
Maybe even in a while you ca start with petting him (as example on his back, away from his head, children mostly are afraid of the head)
Good luck! let us know how it will go with your little nephew