The series for S converges uniformly by the M-test. Therefore termwise integration is valid and every term integrates to sin(n3π)/n7=0, so the integral is zero.
It is not uniform. For a small fixed c>0, set xN=c/N3. On a block N≤n≤(1+δ)N, all n3xN lie in a compact subinterval of (0,π), so the corresponding tail has a positive lower bound independent of N; this violates the uniform Cauchy criterion.