I had this happen to me once, it was quite scary since I was going through traffic. Anyway, I consulted a bike mechanic friend of mine and he said the only way to get the chain back on with the correct chainline is to relace your wheel to a Deep V. Blue, gold, pink will suffice. Non machined only.
Safe Riding!