A Generalized Yang-Mills Model and Dynamical Breaking of Gauge Symmetry