A CSX freight train collided with a tractor-trailer and derailed in the Baltimore area Tuesday, officials said, seriously injuring the truck's driver and leading to an explosion that a witness said could be felt blocks away.