I don't think it's a cap bleed resistor, it's the wrong type and value. It's a high power resistor that's designed to dissipate heat so it shouldn't even really be in that connection box. I'd guess it comes from either the top terminal or the third one down as you look at the photo depending on which direction you want the motor to run. I'd emphasise this is a guess so don't blame me if there's smoke....