> Not sure what you call near IR but JWST has a range from 600nm to 28micrometers. Typicaly people start talking about mid-air from 2 micrometers. So I would say JWST definitely covers beyond near IR.
JWST covers the mid-infrared too, as you implied. But @exabrial's point still stands, that SOFIA's coverage included much longer wavelengths than JWST does. SOFIA had instruments that could observe wavelengths as long as 1600 microns[0].