No kidding. Why would you change the fuel pump when the vehicle is overheating? It is obvious that it is going into limp mode, so you don't ruin the engine, why don't you find out why it's overheating, have you checked the coolant level? Have you noticed any leaks? Maybe you need to take it into a shop and make sure you don't have a blown head gasket.