This isn't my idea but I don't have a source link. The only conceivable advantage that the F-35 might have over the F-22 is a new weapon system.
Boeing is working on huge lasers.
The F-35 is designed around a USMC requirement for VTOL with a large central pod and is equipped with an overpowered engine to drive it.
A flying Shark with a frikkin' laser . . .
A trillion dollar tactical surprise.