Transient phases and dynamical transitions in the post-quench evolution of the generalized Bose-Anderson model