Hi Rachel,
welcome, and also I am sorry to hear about the divorce, even if it is for the best it is alot to go through and very stressful.
I also bought a house at 40, and kept it 16 years. You are not too old to be a first time home owner, not at all.
You did not mention why you want to buy a house? Is the apartment too expensive or too big? Do you not like where you live? Sometimes rentin seems more expensive than home ownership, however there is much to home ownership that people do not calculate in.
I think you should wait a year, if you like your place and even consider a roomate if you have a 2 bedroom. Being in a hurry to buy
after so much change in your life, feels too rushed to me. You have a deficit of 400 a month already and I suspect home ownership will cost more than rent? For example you did not mention how much you would pay per year in property taxes, and you have to calculate that in to your expenses. Taxes can be 1000- 4000 or more a year, and some condos have fees as well. Also you need a nice safe neighborhood, dont want to compromise too much on location. MY home was a mortgage of 1300 per month on about 235 K financed and my taxes were on the low side at about 1500 per year. There are mortgage calculators online that can help you calculate your payments. But you have to add higher bills in for home insurance 1200 a year for me, higher electric and heat bills for a house than an apartment. Upkeep will be a few thousand a year, there are closing costs, decorations , blinds , a trash barrel, gardening/landscaping, and all sorts of things that means your first year will be expensive.
As far as finaces go It seems that you are very close to FI, but you need to dial in your post divorce expenses. But you are in a great position and better off than I was at your age. (I was making 50 K a year when I financed the home for about 275K).
I will say though after all that, you do have enough to buy, just consider how your life may change and who knows you may meet someone and buy a place together. Good luck and congratulations on being in a very good way financially.
I am no expert at the financial side but I am FI at 56 years old.