Whenever the death of a person shall be caused by wrongful act, neglect, or default of any railroad company, or its agents, and the act, neglect, or default is such as would (if death had not ensued) entitle the party injured to maintain an action and recover damages in respect thereof, then, and in every such case, the railroad corporation which would have been liable if death had not ensued shal