While element of luck is involved, I hardly think getting caught is random. I think a lot depends on preparations and profile you keep.
If it was as simple as "preparation" and "profile," then how do any of them get caught? You'd think those protections would be relatively common knowledge, at least among criminals.
After all - drawing left to right top to bottom, from the FBI most wanted list as of shortly before this post - we have:
1) Kidnap and murder of a little girl
2) Beating and raping a woman in march 1998
- Alleged beating, raping and murder of a second woman while out on bail
3) Alleged Shooting and killing an armoured car driver outside a movie theatre and making off with the money.
4) 1987 escape from prison followed by a 1991 murder and subsequent escape from prison in Mexico after being arrested for drug trafficking
5) Racketeering, conspiracy to launder money instruments, conspiracy to have [assorted drugs]
6) Killing his wife and two children, then burning his house down.
These aren't exactly Mensa candidates.