Hopefully you just need to clean out the build-up in the EGR (Exhaust Gas Recirculation) tube. Use this site's search feature for posts on how to do this - I think someone even posted pics too. It's something I've been meaning to do myself as well but just haven't yet. If that's all it is, it should be a fairly easy and very cheap fix - nothing to get too worried over. But if it's the EGR valve itself, I think it runs around $150. Or maybe a bad ground.
EDIT: see here: http://vehicross.info/forums/showthr...clean+egr+tube