The connector with the black and other blue wires.What is the terminal block ?
If the switch in question only operates the fan, then yes.Im not an electrician so terminology is beyond me and would that be the case if all the lights in the bathroom and hall are working fine ?
Having just read your latest post we can only say that you need an electrician who knows what he is doing.