Why does a 1990 ford escort 1.6 not restart afterdrivingfor 20 mins until it cools down Replaced battery and starting motor?

sounds like your fuel pump is gettin hot