Representative Martha McSally, Republican of Arizona, was appointed to fill the Senate seat previously held by John McCain. Ms. McSally will join the Democrat who defeated her in the race for the state's other Senate seat, Kyrsten Sinema.