score:5
Yes you can, when arriving at the US from any international flight you have to go through immigrations, then pick up your bags and go through customs, after that you will be able to leave and come back enough time before your connecting flight.
In addition to the above information, you may be on a transit (C1) visa, which means your admission to the US while on transit might not be granted, if granted by the immigration officer then you can go out of the airport and have a tour or so. Just remember not to exceed the allowed time mentioned in your visa or decided by the immigration officer.
From immihelp.com:
A transit visa is particularly very useful if you need to change airports in the U.S. Even if you don't need to change the airport, if there is a long delay before you can board your flight to the final destination, instead of waiting in the airport, you can get out and tour the nearby places, visit friends or family members, or do shopping.