Ok.. First off, you need to learn how to write better sentence structure. But if i am reading it correctly, your KJ will shut down after it has run for a while due to overheating.
First, check your coolant level.
Second, check to make sure your thermostat is working properly. It might be shut closed and causing your engine to over heat.
Third, check your water pump. Make sure there aren't any leaks coming from it. Like from the weep hole indicating that the water pump has gone bad and it isn't circulating water like it should.
Forth, check your fan. Is your fan mechanical or electric. See if the fan is turning if it is mechanical while the engine is running. If it is electrical, make sure it kicks on when the engine gets up to temp.
Fifth, check your radiator for mud. But this only applies if you have taken your KJ off road and been mudding.
Also, fill out your profile more. The 2005 KJ came with 2 different engines, the 2.8L diesel, and the 3.7L gas..