Boy survives after being hit by train