The word "moment" is used widely within physics (and also in certain parts of mathematics). The overall thread that unites all the various uses of this word is that you typically have a quantity $Q$ which is located some distance $d$ away from the center of interest, in which case you can define the first moment of $Q$ as
$$M=Qd.$$
It is possible to extend this to higher-order moments, such as $M_n=Qd^n$, and to quantities which are distributed over an axis as $Q(x)$, in which case we need to integrate in something of the form $M_n=\int_{-\infty}^\infty Q(x) x^n \mathrm dx$.
Prominent examples of this are electric and magnetic dipole moments (as well as their generalizations to quadrupole, octupole, and other multipole moments), gravitational multipole moments, moments of inertia, and so on.
Torque is a form of moment — specifically, moment of force. Because of its ubiquity in certain ways of interfacing with physics, sometimes it is common to drop the "of force" qualifier, and just use the word "moment" as synonymous with "torque". But it is important not to lose sight that this is shorthand for a longer concept.
And, as a general rule, it is a good idea not to use the word "moment" without specifying what it's a moment of, or otherwise saying what kind of moment it is. Thus, we call the quantity $NiA$ the magnetic dipole moment, and while we might sometimes drop the "magnetic" if it is clear from the context, we never refer to it as just "moment" without preceding it with "dipole".
And, while we're here:
If the moment makes the object rotate, we call it torque; otherwise we just use the name moment
No. If you're using the word moment (of force) for torque, the identification holds regardless of circumstances.