Hours before a Norfolk Southern train derailed in Ohio and erupted in fire in February, a judge ruled a former railroad employee could proceed with a lawsuit claiming he had been harassed for years by managers who said he reported too many flaws in rail cars he inspected and had his job changed after reporting an injury.