Three men and a teenage boy from Birmingham were about to swap handgun for two stolen cars.