A man who was shot and killed by a police officer in Pennsylvania was identified as a 44-year-old resident of New Jersey by police on Monday.