Text this: Gluon fragmentation into 3 P J 1 8 $$ {P}_J^{\left[1,8\right]} $$ quark pair and test of NRQCD factorization at two-loop level