In this Letter we report on the fabrication, device characteristics, and optical coupling of a two-nanowire device comprising GaN nanowires with light-emitting and photoconductive capabilities. Axial p-n junction GaN nanowires were grown by molecular beam epitaxy, transferred to a non-native substrate, and selectively contacted to form discrete optical source or detector nanowire components. The optical coupling demonstrated for this device may provide new opportunities for integration of optical interconnects between on-chip electrical subsystems.