We present a low-temperature-grown GaAs device that combines the features of mode locking and photoconductive switching. The mode-locking mechanism is based on intensity-dependent defocusing. Additionally, the generated carriers produce an electrical signal in the biased switch geometry. This technique allows for simultaneous generation of synchronized optical and electrical pulse trains with a single device.