The genetics
Genetics appears only as an idea, but it drives the plot. The Dukes' wager is an informal experiment on nature versus nurture: one brother believes that a person's character and abilities are inherited, the other that environment determines how anyone behaves. Swapping the lives of a privileged white broker and a poor Black hustler turns this old argument, which has long been used to justify class and racial hierarchies, into comedy. The outcome favours nurture: Valentine thrives once given opportunity, and Winthorpe quickly falls apart when he loses his status. There are no scientists in the film; the experimenters are two wealthy, cynical businessmen who treat people as subjects for a one-dollar bet, and who end up ruined by their own subjects. Research on twins and adoptees has found that heredity and environment both contribute substantially to most behavioural traits, often inextricably, a far subtler answer than the Dukes' all-or-nothing wager.
The story
In Philadelphia, the elderly brothers Randolph and Mortimer Duke own the commodities brokerage Duke & Duke. Holding opposing views on nature versus nurture, they make a bet: they will swap the lives of their refined managing director, Louis Winthorpe III, and a poor street hustler, Billy Ray Valentine. Winthorpe is framed as a thief and drug dealer, loses his job, home and fiancée, and is helped only by a prostitute, Ophelia. Valentine, meanwhile, is installed in Winthorpe's job and house and proves a natural at the business. When Valentine overhears the Dukes settling their wager for one dollar and planning to throw him back onto the street, he joins Winthorpe, Ophelia and the butler Coleman. Learning that the Dukes plan to corner the frozen orange juice market with a stolen crop report, the four swap the report for a forgery and, on the trading floor, ruin the brothers while making a fortune.