Organisers of the Global Citizen Festival said Modi will be attending the event on September 27.
The UN chief also urged the sides to address the root causes of the crisis.
There have been 21 ceasefire violations by Pakistani troops in less than a fortnight and 23 in August.
Ban urged the international community to support the enormous task of rebuilding Gaza.
It was the third deadly attack by Israeli military on a UN school sheltering Palestinians during the conflict that started on July 8.
Palestinian officials blamed Israel for the shelling on UN school but Israeli military denied the claim.
The world body will recognise all same-sex couples married in a country where it is legal, regardless of their nationality.
The three Israeli teenagers were abducted on June 12 in the West Bank.
The U.N. chief painted a grim picture of a country gripped by severe violence, including the use of barrel bombs by govt forces.
The General Assembly has a proud record of acting against apartheid and for Mandela, said Ban Ki-moon.
Decrying the recent attacks against women around the world, Ban stressed that “violence against women is a peace and security issue.
UN Chief Ban Ki-moon too had called the recent incidents of violence towards women in India and Pakistan “appalling”.
The symbolic tribute, an initiative by India and a first, was made to honour those who collectively gave their lives in pursuit of international peace and security.
Modi expressed hope that India- Pakistan relations would progress in the economic, cultural and political fields.
“India values our long and proud relationship with the UN and we will continue our active contribution to the UN work”, Modi tweets.