If the airframes are still well within their fatigue life, then who cares about equipment? Yon stuff can get yanked out, replaced with better COTS stuff, with up-to-date software support, and carry on for dozens more years. Like what they've been doing with the B-52 for absolute yonks now. Lockheed Martin must have lots of engineers who've been bursting to have a go at bringing the Raptor up to a new standard of lethality.
And all the tooling required to build new Raptors, should the US government listen to common sense and do it, is still available in storage, despite Lockheed Martin's attempts to "lose" it, and many rumours to the contrary.