This happens in most of the engines during a travel because of the lack of adequate oil flow and petrol flow in the engine. This lack of flow happens mainly due to the block in carburetor or an injector. This problem can be rectified by removing the blocks from the carburetor and cleaning the air filter.
Your car uses many electronic components. Diagnosing which one can be difficult. The malfunction could be from your ignition switch to the fuel pump. A failing electrical circuit will do so more when the circuit is warm. Heated, melted connections could cause a short. Mechanical failure can also cause engine stall. The majority of engine stalling problems will be electrical.
I personally would think dat maybe your engine stalls because its overheating, or your driving 2 fast not giving the car time to actually warm up, or maybe its an issue with the fuel thing.
Check that your fuel line is isolated from heat. If fuel lines get hot the fuel turns to vapor. Next time it happens check if the lines hot. Be careful!