There is no magic time period. Since NIW is usually not employer sponsored, one can change employers very soon after the GC approval, but one should work in the same or similar field for a reasonable period of time - perhaps a year or more. Usually he/she can argue that the new field is similar...