Pennsylvania authorities have charged actor Bill Cosby with a felony stemming from allegations that he sexually assaulted a woman at his home in 2004.