Nissan Motor is to recall about 540,000 vehicles worldwide, mostly in the US, due to brake pedal defects and faulty fuel gauges.