hi and welcome to the forum.
another thing to check is the IAC valve.
stalling is a classic Focus failure mode on older vehicles and a topic of endless discussion here. Plug words like "IAC", "PCV", and "stall" in the search box to find tips.
"I'm jealous of girls because they get to wear dresses." (Todd Flanders)