Does it only do it in Drive? If so, EGR valve could be clogged.