A truck driver charged over a fatal crash which killed two freight train drivers at a level crossing on the Barrier Highway has died.