You can get a job even with a 10-year gap of not working, but it may not be easy.
Get an unskilled entry-level job, use your network, and do a lot of research.
Treat the job search like a job and work on it every day.
Just getting an interview may be the hardest part.