Switching higher voltage current source

The NPN/PNP and the TC4431 both look like they would be good solutions for this. I didn't post detailed design requirements because this isn't for a specific design. It's just something I realized I don't know how to do and I should know how to do.