Firstly SOFIA is a modified Boeing 747SP. The SP first flew in 1975 and the final SP was delivered in 1987: Boeing never made many of this type (a short-arse extra-long-range 747 that was designed for certain long-haul routes, back before high bypass turbofans had the fuel economy -- hence range -- we expect of today's airliners) and this was one of the last ones still flying.
Secondly, it's an infrared telescope. JWST does the same job much, much better. If JWST had failed, then we'd presumably see a hasty program to build a next-generation SOFIA airborn telescope around now. But given JWST's success to date, it's simply no longer needed.