I apply everywhere in the US, and at this point I consider it a success if I get a rejection email, since that's getting pretty rare. The only recruiters who reach out to me are very clearly shotgun recruiters who have not read my resume and bring positions which are obviously looking for a different type of applicant.
I know I can do the work. Half of my friends work in software or software adjacent roles. I'm at least as capable as them, and, based on how much they have to complain about them, more capable than some of their coworkers.
So, I don't know what the issue is. Clearly I'm not good at marketing myself, but what exactly to change, I'm not sure. I know the 4 year gap looks awful to recruiters, but it's not getting any smaller and I didn't choose it willingly. At this point I'm just mindlessly sending out more resumes, because I don't know what else to do.