Replacement for a CCD0141350

This component is mounted on a Lionel train chuff board it has two legs it’s round with a domed top and black. The schematic shows it as a pnp with a floating collector.