Unsurprisingly lots of people have been in similar situations, so there is a Wiki article on one of the Internet's best personal finance and investing websites: "Managing a windfall" https://www.bogleheads.org/wiki/Managing_a_windfall "Do nothing rash. Set aside one year's living expenses[note 2] and place the rest of the windfall into low risk investments (FDIC insured accounts, money market funds, treasury bills) f…
You should also be able to find plenty of discussion threads in the Bogleheads forum started by other people who have found themselves in this position over the years.
https://np.reddit.com/r/AskReddit/comments/24vo34/whats_the_... is a pretty famous series of comments.