The unnamed man was pronounced dead at the scene close to Outwood railway station, Wakefield, at 7.40pm.