Are there risks with 3D or 4D?

No. 3D and 4D Ultrasound utilize sound waves to look inside the body, technology similar to radar.  A probe placed on the body emits sound waves into the body, listens for the return echo and then generates an image.