Whilst I harbour significant doubt that simply shorting companies with newly appointed female CEOs would be an effective way of exploiting it, the glass cliff effect [0] is a known phenomena whereby female leaders are more likely to be appointed in times of crisis.
[0] https://en.wikipedia.org/wiki/Glass_cliff