A jury has convicted a failed political candidate of federal charges in connection with a series of drive-by shootings.