JERUSALEM  For the second time in a month, a Palestinian plowed a large construction vehicle into traffic on a busy Jerusalem street on Tuesday before being shot dead.

The driver was stopped when a passer-by got out of his car and shot into the vehicle’s cabin. A border policeman then fired more shots at the driver, the police said, “to confirm his death.”

The attack, which left some 16 people injured, took place in Jerusalem’s upscale hotel district, close to the King David Hotel, where Senator Barack Obama, the presumptive Democratic nominee for president, was to stay on Tuesday evening. Mr. Obama is on a weeklong tour of the region as part of an American delegation.

The attack occurred near the Israeli presidential residence, where President Shimon Peres was having lunch with the Palestinian president, Mahmoud Abbas. It was the first visit by a Palestinian leader to the residence.