The spark plugs came out of dark or black brown?
If so, the problem is the engine temperature probe that informs the switchboard to reduce the dosage once the engine is hot.
If the probe is broken, the first thing is that the fault witness comes on and the second is that the switchboard takes as a reference that the engine is \ "cold \" and therefore the gasoline dosage is very high. As it heats up, the engine is drowning with excess gasoline to the point of stopping and not being able to start it until once.
If you do not turn on a fault witness, or the spark plugs did not come out black, you have to look at other possible causes, such as the flowmeter, lambda probe, gasoline pump, gasoline pressure regulator ...
the first thing is that you tell me if the motor smoke smells a lot of gasoline when it is hot and if some black smoke comes out by the exhaust.
All the best.