Engine hits wall at 5k only in 3rd gear

I agree with the others that it sounds like it's a fuel delivery issue. If it were valve float it'd do it in all gears. Same if it were an ignition issue. Your just running out of fuel when you get into high gear. Weak pump, restricted fuel filter, rubber fuel line partially collapsed inside, etc...