Have you looked at the various electrical components , Ie, spark plugs, leads, coils, etc, You neglected to say. I suggest that rough running might be caused by some of the ignition components breaking down at the higher rev range , is there any noticeable difference in power output as you change through the gears. More info on the symptoms might be helpful in bringing out suggestions of areas, things , too check.
Cheers,
Winston66