Hi,
Frequency, voltage, voltage offset, current, phase shift?
A schmitt trigger may be useful to generate square wave, but you have to take care about input voltage levels and voltage offset.
As it includes a hysteresis .. it will generate a phase shifted square wave (if adjusted for symmetric output).
Depending on shift angle one solution could be to first shift the sine, then use a schmitt trigger.
(Using an RC after the schmitt trigger will destroy square wave)
But all this is guessing without specifications.
Klaus