Hi Greetings from Portugal!
I'm going to be short and hard because I've almost sure of the problem.
Check the MAF (Mass Airflow Sensor) and clean it whit the spray Lubri-Limp/0. Change also the air filter. Had the same problem with my Ford Maverick TDI.
Carlos Dias
snipped-for-privacy@clix.pt