A woman was taken to the hospital after she was shot Wednesday evening in Boston, the city's police department said.