A Generalized Epidemic Process and Tricritical Dynamic Percolation