Jason Collins has reached agreement on a 10-day contract with the Brooklyn Nets, clearing the way for the first openly gay athlete in major professional sports history, league sources told Yahoo Sports.

Collins will be signed and available to play on Sunday when the Nets meet the Los Angeles Lakers at the Staples Center, sources told Yahoo.

After Glen "Big Baby" Davis decided to sign with the Los Angeles Clippers on Sunday, the Nets moved onto Plan B – bringing Collins back into the NBA, sources said.

After agreeing to a buyout with the Orlando Magic, Davis is expected to clear waivers at 5 p.m. on Sunday and will sign a deal for the rest of the season with his former Celtics coach, Doc Rivers, and the Los Angeles Clippers.

Collins revealed his sexuality in the spring, and had gone throughout the NBA preseason and regular season without a job offer. Once the Nets missed out on free agent Davis on Sunday, they moved to complete the process of signing Collins as a backup big man.

Collins, 35, has been out of the NBA since completing the 2012-'13 season with the Washington Wizards.