Dynamical transition in the open-boundary totally asymmetric exclusion process