Trust me — this break up didn’t come out of the blue. You thought he was moving here just for you, but clearly (to me, at least), that’s not true. Your boyfriend has A LOT of transitional stress on his plate, and I’m not sure you were understanding and sympathetic to his feelings. He had a move (one of life’s biggest stressors), school, work and relationship pressures. It was too much for him, and he cracked. It’s really understandable that it was too much for him all at once.
However, since he did break up with you, the best thing for you to do is to stop being so available to him. I know you want him back, but if you’re going to get him back, it’s not like this. You have to be unavailable, and let him know what a REAL break up from you feels like. Texting daily and having daily contact makes it too easy for him to not miss you entirely. So stop contacting him. You can let him know that it’s too hard for you to be in limbo like this, and that you don’t want him as a friend after dating for five years. If he wants to ask you out again, he can, but you’re not going to be his friend.
The risk and the reward in this are one in the same. If he doesn’t ask you out, you’ll know it’s truly over. And while this is going to break your heart even more than it is now, I would HIGHLY advise you not to waste one more year, month or week on a guy who can’t commit to you after five years. You deserve more, and it sounds like you want Mr. Right and a marriage in your future. Focus on that.