Dude...this is a classic scenario of Depression. If you don't watch out, the sleeping will lead to some real problems. In fact, they used to call depression "sleeping sickness."
I've been through this in my life. The only thing that helped me was a.) opening up to the people in my life, b.) really thinking about what I wanted to do in life, where I wanted to go, the kind of person I wanted to be, and c.) getting up and making small, incremental steps toward those goals.
If you feel like you want to change your major, or your school, or your job, then do some research & make some steps toward doing that. If you don't have any friends, start going out and sitting in the coffee house with a book every day at the same time. You will meet some people. Or go out and get some exercise. Do anything! It takes time, and these things are not like magical solutions.
BUT...it starts by getting up, getting OUTSIDE OF YOUR HEAD, and literally getting outside the house and meeting people, seeing new things, living your life. If you do that, you never know what'll happen. But if you go to bed and go to sleep, you KNOW what's going to happen. Nothing.