A suspect is detained by police in a Gulgong street hours after a man was shot on a nearby property.