very important features, but rarely input
A tree-based model, especially one that allows missing data in the input, seems a good choice: the tree(s) can split large capital gains out (presumably separating a nearly pure node from the rest).

Also consider something more basic: just hard-code an exception for those with large gains, and model for the rest.