That's an odd one. The troubleshooting section of the FSM mentions "Poor performance at high speed" and describes checking the following items:
1. Ignition timing and valve clearance
2. Clogs in fuel lines, fuel tank breather hole, and fuel valve
3. Clogs in carb jets / passages
4. Valve timing
5. Valve spring tension
The other unmentioned thing I can think of is
this TSB which describes poor performance when the throttle is cracked at already high RPMs. If that isn't your issue, ignore it.
If you're going through the RPM range and the only time the issue is seen is in 5th gear, then you very well might be onto something in that the issue is inside the transmission. If that is the case, then plainly speaking, that sucks a lot. It'll mean opening the whole thing and possibly replacing some big parts.
But I hope someone else will pipe up and suggest something much easier.