Why would the O/D off light only come on at curtain time and not at others. on 2006 Ford Escape

it also has a problem with code P0733

Asked by for the 2006 Ford Escape
p0733 is shift solenoid a or b. diag advises may be solenoid or possible internal damage inside trans. time to get it to a shop.