Does anybody knows the formula for trajectory of curving ball (in 3D).
Sorry Physics doesn't work that way. There is no store of "equations" on the shelf waiting for each and every situation.
We can say that it is a difficult problem of fluid dynamics. You could possibly generate numeric solutions to simplified versions of the problem. But there will be no closed form solution. It is not clear to me that there can even be a "simple" functional description of the general case.
You'd definitely have to begin by splitting the problem into its x, y and z components and working from there. Think about projectile motion, etc. Anyway, you haven't given us enough info. Does it start from rest, is it moving, accelerating?
Separate names with a comma.