Lahiri was the first alternate to start with, but then made it to the main draw as former World No.1 Brooks Koepka pulled out due an injury.
Indian golfer Anirban Lahiri to play at The Players Championship after Koepka pulls out due to injury
Lahiri had made an early exit from the Arnold Palmer Invitational last week after carding a six-over 78.
Johnson arrived at Shinnecock fresh from a US PGA Tour victory in Memphis that propelled him back to the top of the world rankings.
There's no doubt now that Koepka is back, and he has proved his major mettle on the toughest test the US Open can offer.
A year after Koepka marched to victory with a 16-under total at Erin Hills, Koepka kept his nerve on the back nine to emerge with a one-over-par total of 281.