Two large publicly traded prison plays are Corrections Corporation of America, which is rebranding itself as CoreCivic, and Geo Group.
Both stocks had strong performance the last time there was a Republican in the White House, until the financial crisis in 2008. They also did pretty well under President Obama for a while, but then they peaked in early 2015 as the industry came under more scrutiny.
In August, Obama's administration announced that the federal government would phase out the use of private prisons, which is a significant portion of business, and the stocks fell sharply. However, both stocks snapped back on the news of Trump's win.
"Some of this is because Trump ran on a law and order platform that suggests his Justice Department might be sending more people to prison," Cramer said. "But mainly it's about illegal immigration."
Both Corrections Corp and Geo Group have contracts with the Immigration and Customs Enforcement (ICE), which could mean more business for these companies.
Cramer is skeptical of the rally in both stocks, as Trump has already started to moderate his tone on the deportation issue. Additionally, Republicans may be looking to cut costs at the federal and state levels. Cramer wouldn't be surprised if they start with private prison contracts.
"In the end, these companies have very high debt loads with not much cash, and they both have sky-high dividend yields, which I see as a big red flag," Cramer said.
As for gun makers, Cramer thinks these stocks sold off way too hard. Sturm Ruger and Smith & Wesson both sold off on the news of Trump's win last week.
While there is no question that having the GOP in power is better for the gun industry long-term, fears of gun control laws could lift sales in the short-term, Cramer said. However, he is now confident that it won't happen for the next four years, which could be good for the stocks.
"Gun makers got slammed because everyone was expecting their sales would surge after Hillary got elected, but I say that's crazy — they may not get a short-term bounce, but they have got long-term stability," Cramer said.