Car won`t start when reaching operating temp

I have a94 Buick LeSabre Limited with a 3800 engine. When the engines cold,it starts fine and drives fine.
When it reaches operating temp,if you shut it off
It will crank but not start back up untill its cold again. Ive replaced the crank and cam sensors but no change.

The problem might be with an ignition module that’s sensative to heat. Have you tested for spark when the engine doesn’t start?

Tester

haven’t checked that yet