An American foreign service officer died while serving in Madagascar, the State Department said Monday, and local police have a suspect in custody.