I never leave five hours between flights myself.
If your flight that you will miss hasn't left yet content the airline and tell them your story and ask if they can transfer you. It allows them to resell the seat.
What kind of ticket do you have also? Like Cheap Eco, Full Eco, Business, etc?