It's shitty that your boss is choosing your ex over you. But you may end up with a better job in the end and wont have the stress of knowing that your ex knows where you work.
As to school, I agree with the rest, talk to a counselor and see what they can help arrange.
Good luck.