This might be the James B Campbell in your question. Possibly the middle initial was difficult to read. The death is in Polk County, Iowa and the birth year is very close at 1825.
James W Campbell
Iowa, County Death Records
||James W Campbell|
||27 Jun 1895|
||Des Moines, Polk, Iowa, United States|
|Birth Year (Estimated)
CITING THIS RECORD
"Iowa, County Death Records, 1880-1992," database, FamilySearch(https://familysearch.org/ark:/61903/1:1:QVJP-NFY6 : accessed 21 May 2016), James W Campbell, 27 Jun 1895; citing Death, Des Moines, Polk, Iowa, United States, page , offices of county clerk from various counties; FHL microfilm 1,749,701.