If the sum of the coefficients of \( x^{7} \) and \( x^{14} \) in the expansion of \( \left(\frac{1}{x^{3}}-x^{4}\right)^{n} \), \( x\neq 0 \), is zero, then the value of \( n \) is ______.