The F-22 has four external pylons rated at 5000lbs each whereas the F-35's six pylons are rated at 2500lbs each.
If external (non-stealth) carriage was the spec we could have bought upgraded Eagles, but it wasnt. The spec was stealth carriage of 2 x 2,000 pound J weapons. You are going to need a really big shoe horn to get 2000 pounders into the bay on an F-22.