We study ramp and periodic dynamics of ultracold bosons in an one-dimensional (1D) optical lattice which supports quantum critical points separating a uniform and a Z3 or Z4 symmetry broken density-wave ground state. Our protocol involves both linear and periodic drives which takes the system from the uniform state to the quantum critical point (for linear drive protocol) or to the ordered state and back (for periodic drive protocols) via controlled variation of a parameter of the system Hamiltonian. We provide exact numerical computation, for finite-size boson chains with L ≤ 24 using exact-diagonalization (ED), of the excitation density D, the wavefunction overlap F , and the excess energy Q at the end of the drive protocol. For the linear ramp protocol, we identify the range of ramp speeds for which D and Q shows Kibble-Zurek scaling. We find, based on numerical analysis with L ≤ 24, that such scaling is consistent with that expected from critical exponents of the q-state Potts universality class with q = 3, 4. For periodic protocol, we show that the model display near-perfect dynamical freezing at specific frequencies; at these frequencies D, Q → 0 and |F | → 1. We provide a semi-analytic explanation of such freezing behavior and relate this phenomenon to a many-body version of Stuckelberg interference. We suggest experiments which can test our theory.