2002LAGUNA 2.0L 16V CUTS OUT WHEN IT GETS HOT,HAVE REPLACED LAMBDA SENSOR AND AIR MAP SENSOR,BUT STILL CUTS OUT WHEN HOT IT WILL START AGAIN WHEN IT HAS COOLED DOWN
Probably the crank sensor, possibly coil pack or coolant temp sensor.
A competent tech with good diagnostic equipment would have been cheaper than replacing parts at random.