i have had 2 issues with mine that where similiar
Would not run properly between 1000 and 2000 rpm. in neutral, it would not hold revs between 1 and 2 k rpm. cleaning the EGR seemed to cure it.
The other time, it would rev to 3000rpm, as soon as the rpm got to 3000 it threw a cloud of black...