Employee states that he placed his hand on the conveyor boom and leaned over to get pull rope to hang cable on the hook on the miner boom. As he leaned over his stomach hit the tram lever and this caused the miner to move and pin his hand momentarily between the coal rib and the miner boom.