20 years of Software Development will have got you amazing programming skills. So, you could switch to a career that includes coding. Blockchain, Big-Data Hadoop, Machine Learning, etc. All these domains require good coders. So, you can get a certification in one of these domains that you wish to, and then switch to that domain. If you are bored with coding itself, then you can get into Management. You can become a Development Manager, Associate Vice President. And if you don't want to be in IT anymore, then you can get into teaching.