I had the same trouble, the purge flow valve and the thermister and all associated pre formed vacuume lines are sold as a kit from the dealer. Here in Canada it was $90 at a local Mazda dealer. The Ford Dealer wanted over $250 for it. Pay's to look around.
I was told by others on this forum to buy the kit and replace all the components. Did the trick for me.