The response of shear stress to a weak ac electric field as a probe is measured in a nematic liquid crystal under shear flow and dc electric fields. Two states with different responses are clearly observed when the dc electric field is changed at a constant shear rate: the flow aligning and non-flow aligning states. The director lies in the shear plane in the flow aligning state and out of the plane in the non-flow aligning state. Through application of dc electric field, the non-flow aligning state can be changed to the flow aligning state. In the transition from the flow aligning state to the non-flow aligning state, it is found that the response increases and the relaxation time becomes longer. Here, the experimental results in the flow aligning state are discussed on the basis of the Ericksen-Leslie theory.