Phillip sorry you are going through this man keep your chin up.
It sucks how the laws are. I understand, somewhat, how we got here. Bad landlords used to do a "Brooklyn upgrade"...essentially you had a good tenant "month to month" or paying cash who was paying and doing everything right. Then you market their house and find someone willing to pay $50/month more. Evict the long standing tenant as "he was never allowed to be here"...tenant laws were put in place largely to protect innocent people from bad landlords.
Fast forward 40 years and you have smart(ish) evil people who abuse the laws originally designed to protect them.
When I had my small trailer park on 3 occasions I did what Braxton suggested above "cash for keys" I did it one step further though. Knock on the door "Hey this isnt working and isnt going to continue. I will forgive all past due rent, agree not to pursue you for back rent or credit report it (Id never collect anyway) and promise to give you a good referral to your new landlord. Also I will give you $1,000 cash PLUS $250 for a uhaul cash and $250 for a week at the extended stay hotel cash. Provided that you are out by tomorrow night. I'll even pay m guys to help load your stuff in the uhaul. I need a place for my younger brother to move in tomorrow hes going through a rough spot." (I have no younger brother)
And I kept every bit of my word - except the good referral part. I'd tell any local landlord (except 1 because fuck that asshole) RUN if they called.
It works...until you get a real piece of shit. Then you need an even bigger piece of shit that will evict them convince them for you for the same $1,500 (or less)