He won the first two Superbowls with Jimmy. Then Jerry felt Jimmy was taking too much credit and he fired Jimmy and hired Barry Switzer. The Cowboys lost to SF in the NfC championship and then won the Superbowl the third time in 4 years.
And since the team has been mediocre.