1991 Buick Riviera Q&A

1991 Buick Riviera Question: wont start when it warms up

my car starts without any hesitation in the morning but shuts off and won't start when it gets warm.new plugs wires fuel and air filter.please help ive put 500 dollars in this car since i bought it and i really need it to get to work -
Answer 1
that sounds like the ignition module but the crank sensor will do that also -