A New York City police officer shot and killed his schoolteacher girlfriend in their Woodside , Queens , apartment sometime over the weekend , then turned the gun on himself and committed suicide , the police said .