My villager shake and cuts off after the engine warms up what needs to be done on 1999 Mercury Villager

this has been happening everyday until it won't start at all had it towed home

Asked by for the 1999 Mercury Villager
need to have scanned to check for codes. also check fuel pressure.