Romo scrambling and Dak scrambling are two different to even compare.
Romo should have just thrown the ball away rather than run, it would have added years to his career.
Dak hanging in the pocket too long is a bad decision he made to prove he was such a well rounded valuable QB,, fail.
Daks greatest strength is deciding when to run and taking advantage of that opportunity.
Directly affects safety and LB play when a Physical QB like Dak can grab 10 yards when he sees a lane to run.
I'm not really comparing the running of the two but the lessons a young QB has to learn. Romo was a gunslinger and early on he would scramble out of the pocket to buy time, then do it again, then take a 15 yard sack to kill a drive. He had to learn to just throw the ball away when his third read was covered.
Dak had a period of staying in the pocket too long because he is built like a Fullback and was overconfident that he could shake off leg tackles. He is also more conservative in his game than most QB's, especially Romo. I think you saw Dak improve that part of his game last year and he didn't stay in the pocket forever waiting for the WR to work open.
IMO some of that was Dak's development but part of it was having the weapons and Kellen Moore's offense, when the issue was a problem Dak had to live with Linehan's playcalling and guys like Allen Hurns and Deonte Thompson as his WRs.