Hi Jerry and welcome to the forum.
The warm-engine stall is a very common problem on an older Focus. Two common topics on this forum are IAC valve and cracked PCV hose. Use the forum search box to peruse those topics; you'll see far more verbiage than you have time to read.
"I'm jealous of girls because they get to wear dresses." (Todd Flanders)