Due to criticism over its large size, poor fuel economy, and declining sales, the Excursion was discontinued after the 2005 model year in the United States (Mexico received a short 2006 production run). For the 2007 model year, the Excursion was largely replaced as Ford introduced an extended-length version of the Ford Expedition (Expedition EL in United States; Expedition Max in Canada / Mexico), although it is only a Class 1 SUV.

Based on this passage, when did they stop making the ford excursion? Let's give stream of consciousness first:
To answer this question, we should know that: Due to criticism over its large size, poor fuel economy, and declining sales, the Excursion was discontinued after the 2005 model year in the United States (Mexico received a short 2006 production run).
So, the final answer is 2006.