Nissan truck dies at redlight

it stops at every red light or most but will crank back up