Every person who, being employed upon any railway as engineer, conductor, baggage master, brakeman, switch tender, flagman or signal man or person having charge of stations or the starting, regulating or running of trains upon any railway, or being employed as captain, engineer or other officer of any vessel, shall be intoxicated while engaged in the discharge of any such duties, shall be guilty of a misdemeanor.