Car slammed by freight train after pulling onto railroad