No, it wasn’t! The NRA was founded to teach Northerners returning from the Civil War better firearms training. It was *not* founded to help blacks defend themselves.
The training was set up to help train the militia for future wars and/or insurrection. The Klan was clearly insurrection among the democrats which formed the same year the NRA was formed.