@ahsanonline,the problem as u mentioned ur car gets stopped after heating up,it might be due to,
1 - Bed ignition coil or shortcircuit in ignition wiring or a weak main relay/loose electrical connections.
2 - Faulty fuel pump or air lock problem in fuel system.
3 - Leakage in air intake system.
4 - Leakage in intake or exhaust manifold.
5 - Defective throttle body.
6 - Incorrect tappet clearance.