Timberlake for 'Will & Grace' role?

Justin: Gay role

Justin Timberlake has signed up for a three-episode stint on Will & Grace, according to Sky Showbiz today.

The singer has recently made a foray into the world of acting, having filmed no less than three films in the past year.

Now he's apparently moved on to the small screen with a recurring part as "Jack's bad boyfriend" in the camp comedy.

The episodes will feature in the show's upcoming eighth - and likely final - season.