Her Every Fear by Peter Swanson

Beth says:
Londoner Kate Priddy agrees to swap apartments with a distant Boston cousin.  Soon after her arrival, a neighbor is found murdered, and Kate is drawn into the aftermath–wondering if her cousin is the culprit.  Lots of great twists!