I don't think if there are programs in the government that could solve your situation but had you checked with your bank already if they could help you out. It's really troublesome to lose your home. Just in case you are still in trouble you can check Options for Foreclosure
Try to contact them and see if they are able to help you out regarding your situation considering your credit rating. I know there are still ways to avoid foreclosure, we just have to look for options. Goodluck!