From what we know so far the solution could come in the form of time travel, but we won't know much more until closer to the film.
Vulture confirms that the upcoming Spider-Man sequel will add the capable talents of Samuel L., who is set to once again reprise his role as Nick Fury. Besides that, you'll just have to wait until the sequel premieres in July of next year, or ask Tom Holland politely in any scenario whatsoever, at which point he will tell you the entire plot in great detail along with a few deeply personal secrets about himself.
The last time we saw Nick Fury and Maria Hill, they were blowing around NY in a pile of dust at the end of Infinity War, the final victims of Thanos' deadly finger snap. Though Infinity War found Jackson's Fury and Smulder's Hill both dissipating into nothingness courtesy of the Mad Titan, it would appear that they'll ultimately find themselves on the winning side.More news: China continues 'fair and lawful' business in Iran, despite US sanctions
We already know that the movie will see Peter Parker (also back from the dead) dealing with the aftermath of Infinity War, but we don't know anything about the time frame in play yet. If that theory holds, it'll make three MCU films in the span of about four months for Jackson, at a time when we'd previously thought his time with Marvel might be winding down.
Jackson (The Hitman's Bodyguard) and Cobie Smulders (How I Met Your Mother) will be joining Tom Holland for the next adventure in the titular webslinger's franchise, Spider-Man: Far From Home, according to Vulture.
Jackson is ready to swing with Spidey. The film is also the Marvel debut of Jake Gyllenhaal, who will play the big bad villain, Mysterio in the film. In-between the release of Captain Marvel and Spider-Man: Far From Home is the release of The Avengers 4, which we can guess somehow brings the characters back to life.