Something went seriously wrong in your figuring to come up with $500 million per person. It should be under $5000 per person or $34.5 billion total - if your run the numbers like I did below in Python (assuming these panels only produce for 8 hours per day, which is a number I just pulled out of the my hat).
Throw in extra for installation costs. It would be interesting to know what the total area is of NYC rooftops that have good sun exposure.
ny_area_sqmi = 302.6
ny_population = 8175133.0
ny_demand_watt_hours_per_year = 64500 * 10**9
panel_watt_hours_per_year = 230 * 8 * 365
panels_needed = ny_demand_watt_hours_per_year / panel_watt_hours_per_year
panel_cost = 360.0
panel_area_sqft = 17.6
total_cost = panels_needed * panel_cost
total_area_sqmi = (panels_needed * panel_area_sqft) / (5280**2)
print 'panels needed', panels_needed
print 'total cost $ %.2f' % total_cost
print 'cost per person $ %.2f' % (total_cost / ny_population)
print 'square miles %.2f' % total_area_sqmi
print 'percent area of nyc %.2f%%' % ((total_area_sqmi / ny_area_sqmi) * 100)
------
panels needed 96039309
total cost $ 34574151240.00
cost per person $ 4229.19
square miles 60.63
percent area of nyc 20.04%