I am not sure if you are still working in your second company. If yes, then try doing below things which can change your job style/skills.
1. Talk to your Manager or Lead to identify a position which does not have any shift work. You can always reach out to them if you have issue with shift work, some managers do listen to this and give you an alternate project which suits you.
2. After getting into a project which does not have shift work, work there for at least 6 months. Attend some internal technical training. Do some certifications related to your work which will help you in future.
3. Once you are done with the above things, try to search a job outside. You have multiple skills to show in your resume now. You current experience, training, certifications, etc., can be highlighted in your resume. Alongside, you can ask your manager or lead to look for a project where you can learn something. Give them some time to identify a suitable project for you. Most of the times I see people don't give time to their managers to identify things for them. Definitely opportunities do exist but it needs some time to be identified.
If you have already quit your second company and looking for opportunities now, then I would suggest you to do additional certification which is closely related to your previous work. In the mean time look for BPO jobs which do not have any shifts. You have considerable amount of experience so you can look for a senior level designations. Some BPO projects will not have shifts for manager or leads.
And for your question on MSW, it is completely out of the experience you have got so far. You will be starting your career newly. So, do think twice before changing your career or anything you decide. Master of social works is a good course. People who have completed this course and have done a good project are working with a decent salary in Health and public sectors. Whatever suggestions I have given above is for your reference. You have to think and decide what fits best to you based on your situations.