Hard start when hot (engine or whether)

My 94 Ford Escort has strong crank but hard start, when hot. (it fires right up on the first turn of the key if its cold). New starter. Once engine starts, it idles and runs great. Its like it doesn’t get fuel, and then suddenly does.

Could be the ignition module, crank position sensor or fuel pump relay.
A good mechanic can test these things, not just throw parts at it.

thanks. A local shop just did some testing and informed me that it needs a new ignition switch. Fuel pressure test was normal. Hope they are right.